llvm-6502/include/llvm/System/Signals.h
2003-06-30 21:59:07 +00:00

25 lines
670 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>
//
// This will include the signal handler return type.
//
#include "Config/config.h"
// 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