/contrib/sdk/sources/newlib/libc/include/signal.h |
---|
2,15 → 2,18 |
#define _SIGNAL_H_ |
#include "_ansi.h" |
#include <sys/cdefs.h> |
#include <sys/signal.h> |
_BEGIN_STD_C |
typedef int sig_atomic_t; /* Atomic entity type (ANSI) */ |
#ifndef _POSIX_SOURCE |
#if __BSD_VISIBLE |
typedef _sig_func_ptr sig_t; /* BSD naming */ |
#endif |
#if __GNU_VISIBLE |
typedef _sig_func_ptr sighandler_t; /* glibc naming */ |
#endif /* !_POSIX_SOURCE */ |
#endif |
#define SIG_DFL ((_sig_func_ptr)0) /* Default action */ |
#define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */ |