mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
01ad1e2383
llvm-svn: 2301
19 lines
583 B
C++
19 lines
583 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
|