1// -*- C++ -*- 2//===--------------------------- csignal ----------------------------------===// 3// 4// The LLVM Compiler Infrastructure 5// 6// This file is dual licensed under the MIT and the University of Illinois Open 7// Source Licenses. See LICENSE.TXT for details. 8// 9//===----------------------------------------------------------------------===// 10 11#ifndef _LIBCPP_CSIGNAL 12#define _LIBCPP_CSIGNAL 13 14/* 15 csignal synopsis 16 17Macros: 18 19 SIG_DFL 20 SIG_ERR 21 SIG_IGN 22 SIGABRT 23 SIGFPE 24 SIGILL 25 SIGINT 26 SIGSEGV 27 SIGTERM 28 29namespace std 30{ 31 32Types: 33 34 sig_atomic_t 35 36void (*signal(int sig, void (*func)(int)))(int); 37int raise(int sig); 38 39} // std 40 41*/ 42 43#include <__config> 44#include <signal.h> 45 46#pragma GCC system_header 47 48_LIBCPP_BEGIN_NAMESPACE_STD 49 50using ::sig_atomic_t; 51using ::signal; 52using ::raise; 53 54_LIBCPP_END_NAMESPACE_STD 55 56#endif // _LIBCPP_CSIGNAL 57