6 #include <sys/signal.h>
10 typedef int sig_atomic_t; /* Atomic entity type (ANSI) */
12 typedef _sig_func_ptr sig_t
; /* BSD naming */
15 typedef _sig_func_ptr sighandler_t
; /* glibc naming */
18 #define SIG_DFL ((_sig_func_ptr)0) /* Default action */
19 #define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */
20 #define SIG_ERR ((_sig_func_ptr)-1) /* Error return */
24 _sig_func_ptr
_signal_r (struct _reent
*, int, _sig_func_ptr
);
25 int _raise_r (struct _reent
*, int);
28 _sig_func_ptr
signal (int, _sig_func_ptr
);
30 void psignal (int, const char *);
35 #endif /* _SIGNAL_H_ */