diff options
author | Kevin Steves <stevesk@pobox.com> | 2001-02-04 13:20:36 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2001-02-04 13:20:36 +0000 |
commit | b6e773acc9f27118b215a892ba704123a6df7b72 (patch) | |
tree | 083542bf79b817ac9790232c14d7a508f0d6ecc0 /misc.h | |
parent | b797b92237276b87bb758648d61ef71579befc5b (diff) |
- (stevesk) add mysignal() wrapper and use it for the protocol 2
SIGCHLD handler.
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,3 +19,7 @@ char *strdelim(char **s); /* set filedescriptor to non-blocking */ void set_nonblock(int fd); + +/* wrapper for signal interface */ +typedef void (*mysig_t)(int); +mysig_t mysignal(int sig, mysig_t act); |