comparison src/s/isc4-0.h @ 29810:4406a040b043

(sigblock): Redefined to pass a pointer as second argument to sigprocmask.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 20 Jun 2000 18:30:44 +0000
parents 4e472b8b55c5
children 628cd9eccd18
comparison
equal deleted inserted replaced
29809:88aa46c9dfde 29810:4406a040b043
18 #ifndef POSIX_SIGNALS 18 #ifndef POSIX_SIGNALS
19 #ifndef sigblock 19 #ifndef sigblock
20 #ifndef SIG_BLOCK 20 #ifndef SIG_BLOCK
21 #define SIG_BLOCK 0 21 #define SIG_BLOCK 0
22 #endif 22 #endif
23 #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) 23 #define sigblock(sig) \
24 (sigprocmask_set = SIGEMPTYMASK | (sig), \
25 sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL))
24 #endif 26 #endif
25 #endif /* not POSIX_SIGNALS */ 27 #endif /* not POSIX_SIGNALS */