comparison src/syssignal.h @ 3008:be594f78bfa7

* syssignal.h (sys_signal): Declare the second argument to have type signal_handler_t. We're told this is necessary for Linux.
author Jim Blandy <jimb@redhat.com>
date Mon, 24 May 1993 05:12:22 +0000
parents 5a73d384f45e
children c2dbfca5e1de
comparison
equal deleted inserted replaced
3007:e41b3dc686bb 3008:be594f78bfa7
56 56
57 /* Whether this is what all systems want or not, this is what 57 /* Whether this is what all systems want or not, this is what
58 appears to be assumed in the source, for example data.c:arith_error() */ 58 appears to be assumed in the source, for example data.c:arith_error() */
59 typedef RETSIGTYPE (*signal_handler_t) (int); 59 typedef RETSIGTYPE (*signal_handler_t) (int);
60 60
61 signal_handler_t sys_signal (int signal_number, int (*action)()); 61 signal_handler_t sys_signal (int signal_number, signal_handler_t action);
62 int sys_sigpause (sigset_t new_mask); 62 int sys_sigpause (sigset_t new_mask);
63 sigset_t sys_sigblock (sigset_t new_mask); 63 sigset_t sys_sigblock (sigset_t new_mask);
64 sigset_t sys_sigunblock (sigset_t new_mask); 64 sigset_t sys_sigunblock (sigset_t new_mask);
65 sigset_t sys_sigsetmask (sigset_t new_mask); 65 sigset_t sys_sigsetmask (sigset_t new_mask);
66 66