Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
include
ansi
_csignal.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
30
#ifndef _RWSTD_CSIGNAL_H_INCLUDED
31
#define _RWSTD_CSIGNAL_H_INCLUDED
32
33
34
#include <
rw/_defs.h
>
35
36
37
_RWSTD_NAMESPACE
(
std
) {
38
39
#ifndef SIGABRT
40
# define SIGABRT _RWSTD_SIGABRT
41
#endif
// SIGABRT
42
43
#ifndef SIGFPE
44
# define SIGFPE _RWSTD_SIGFPE
45
#endif
// SIGFPE
46
47
#ifndef SIGILL
48
# define SIGILL _RWSTD_SIGILL
49
#endif
// SIGILL
50
51
#ifndef SIGINT
52
# define SIGINT _RWSTD_SIGINT
53
#endif
// SIGINT
54
55
#ifndef SIGSEGV
56
# define SIGSEGV _RWSTD_SIGSEGV
57
#endif
// SIGSEGV
58
59
#ifndef SIGTERM
60
# define SIGTERM _RWSTD_SIGTERM
61
#endif
// SIGTERM
62
63
64
extern
"C"
{
65
66
#ifdef _RWSTD_SIG_ATOMIC_T
67
typedef
_RWSTD_SIG_ATOMIC_T sig_atomic_t;
68
#else
69
typedef
long
sig_atomic_t;
70
#endif
// _RWSTD_SIG_ATOMIC_T
71
72
73
// helper type (necessary in order to be extern "C")
74
typedef
void
__rw_sighandler_t (
int
);
75
76
#ifndef SIG_DFL
77
# define SIG_DFL \
78
_RWSTD_REINTERPRET_CAST (_STD::__rw_sighandler_t*, _RWSTD_SIG_DFL)
79
#endif
// SIG_DFL
80
81
#ifndef SIG_ERR
82
# define SIG_ERR \
83
_RWSTD_REINTERPRET_CAST (_STD::__rw_sighandler_t*, _RWSTD_SIG_ERR)
84
#endif
// SIG_ERR
85
86
#ifndef SIG_IGN
87
# define SIG_IGN \
88
_RWSTD_REINTERPRET_CAST (_STD::__rw_sighandler_t*, _RWSTD_SIG_IGN)
89
#endif
// SIG_IGN
90
91
92
void (*signal(
int
,
void
(*)(
int
))) (int);
93
int
raise (
int
);
94
95
}
// extern "C"
96
97
98
}
// namespace std
99
100
101
#endif
// _RWSTD_CSIGNAL_H_INCLUDED
_defs.h
_RWSTD_NAMESPACE
#define _RWSTD_NAMESPACE(name)
Definition
_defs.h:567
std
Definition
json.h:5363
Generated by
1.9.8