commit | b6e773acc9f27118b215a892ba704123a6df7b72 | [log] [tgz] |
---|---|---|
author | Kevin Steves <stevesk@pobox.com> | Sun Feb 04 13:20:36 2001 +0000 |
committer | Kevin Steves <stevesk@pobox.com> | Sun Feb 04 13:20:36 2001 +0000 |
tree | 083542bf79b817ac9790232c14d7a508f0d6ecc0 | |
parent | b797b92237276b87bb758648d61ef71579befc5b [diff] [blame] |
- (stevesk) add mysignal() wrapper and use it for the protocol 2 SIGCHLD handler.
diff --git a/misc.h b/misc.h index 1637042..1dd0389 100644 --- a/misc.h +++ b/misc.h
@@ -19,3 +19,7 @@ /* 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);