mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
48486893f4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
584 B
C++
20 lines
584 B
C++
//===- Support/Signals.h - Signal Handling support --------------*- C++ -*-===//
|
|
//
|
|
// This file defines some helpful functions for dealing with the possibility of
|
|
// unix signals occuring while your program is running.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef SUPPORT_SIGNALS_H
|
|
#define SUPPORT_SIGNALS_H
|
|
|
|
#include <string>
|
|
|
|
// RemoveFileOnSignal - This function registers signal handlers to ensure that
|
|
// if a signal gets delivered that the named file is removed.
|
|
//
|
|
void RemoveFileOnSignal(const std::string &Filename);
|
|
|
|
#endif
|
|
|