Rev 4874 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4874 | Rev 6536 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _SIGNAL_H_ |
1 | #ifndef _SIGNAL_H_ |
2 | #define _SIGNAL_H_ |
2 | #define _SIGNAL_H_ |
Line 3... | Line 3... | ||
3 | 3 | ||
- | 4 | #include "_ansi.h" |
|
4 | #include "_ansi.h" |
5 | #include |
Line 5... | Line 6... | ||
5 | #include |
6 | #include |
Line 6... | Line 7... | ||
6 | 7 | ||
7 | _BEGIN_STD_C |
8 | _BEGIN_STD_C |
8 | 9 | ||
- | 10 | typedef int sig_atomic_t; /* Atomic entity type (ANSI) */ |
|
- | 11 | #if __BSD_VISIBLE |
|
9 | typedef int sig_atomic_t; /* Atomic entity type (ANSI) */ |
12 | typedef _sig_func_ptr sig_t; /* BSD naming */ |
10 | #ifndef _POSIX_SOURCE |
13 | #endif |
Line 11... | Line 14... | ||
11 | typedef _sig_func_ptr sig_t; /* BSD naming */ |
14 | #if __GNU_VISIBLE |
12 | typedef _sig_func_ptr sighandler_t; /* glibc naming */ |
15 | typedef _sig_func_ptr sighandler_t; /* glibc naming */ |
13 | #endif /* !_POSIX_SOURCE */ |
16 | #endif |