File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 28
28
#define SIG_SETMASK 2
29
29
30
30
#define SA_NOCLDSTOP 0x0001 /* don't send SIGCHLD when they stop */
31
+ #define SA_NODEFER 0x0010 /* don't mask the signal we're delivering */
31
32
#define SA_RESETHAND 0x8000 /* Reset to SIG_DFL on entry to handler. */
32
33
34
+ #ifdef __USE_MISC
35
+ /* Some aliases for the SA_ constants. */
36
+ # define SA_NOMASK SA_NODEFER
37
+ # define SA_ONESHOT SA_RESETHAND
38
+ #endif
39
+
40
+ #if 0
41
+ /* NYI: */
42
+ #define SA_NOCLDWAIT 0x0002 /* do not generate zombies on unwaited child */
43
+ #define SA_SIGINFO 0x0040 /* Invoke signal-catching function with three arguments instead of one. */
44
+ #define SA_ONSTACK 0x2000 /* take signal on signal stack */
45
+ # define SA_STACK SA_ONSTACK
46
+ #define SA_RESTART 0x4000 /* restart system on signal return */
47
+ #endif
48
+
33
49
struct sigaction {
34
50
__sighandler_t sa_handler ; /* Pointer to signal handler. */
35
51
__sigset_t sa_mask ; /* Additional signals masked during
You can’t perform that action at this time.
0 commit comments