Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
signal.h
Go to the documentation of this file.
1
29#include <rw/_defs.h>
30
31#ifndef _RWSTD_NO_DEPRECATED_C_HEADERS
32# ifndef _RWSTD_SIGNAL_H_INCLUDED
33# define _RWSTD_SIGNAL_H_INCLUDED
34
35# include <csignal>
36
37# ifndef _RWSTD_NO_NAMESPACE
38
39using std::sig_atomic_t;
40
41using std::raise;
42using std::signal;
43
44# ifdef __linux__
45
46 // hackery needed by <pthread.h>
47
48# ifndef _SIGSET_H_types
49# define _SIGSET_H_types 1
50
51typedef int __sig_atomic_t;
52
53# define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int)))
54
55typedef struct {
56 unsigned long int __val[_SIGSET_NWORDS];
57} __sigset_t;
58
59# endif // _SIGSET_H_types
60# endif // __linux__
61
62
63# endif // _RWSTD_NO_NAMESPACE
64# endif // _RWSTD_SIGNAL_H_INCLUDED
65#else
66# include _RWSTD_ANSI_C_SIGNAL_H
67#endif // _RWSTD_NO_DEPRECATED_C_HEADERS