8 #include <sys/signal.h>
10 typedef int sig_atomic_t; /* Atomic entity type (ANSI) */
12 #if defined(__STDC__) || defined(__cplusplus)
13 #define SIG_DFL ((void (*)(int))0) /* Default action */
14 #define SIG_IGN ((void (*)(int))1) /* Ignore action */
15 #define SIG_ERR ((void (*)(int))-1) /* Error return */
17 #define SIG_DFL ((void (*)())0) /* Default action */
18 #define SIG_IGN ((void (*)())1) /* Ignore action */
19 #define SIG_ERR ((void (*)())-1) /* Error return */
22 typedef void (*_sig_func_ptr
) (int);
26 _sig_func_ptr
_EXFUN(_signal_r
, (struct _reent
*, int, _sig_func_ptr
));
27 int _EXFUN(_raise_r
, (struct _reent
*, int));
30 _sig_func_ptr
_EXFUN(signal
, (int, _sig_func_ptr
));
31 int _EXFUN(raise
, (int));
37 #endif /* _SIGNAL_H_ */