diff options
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); | |||
19 | 19 | ||
20 | /* set filedescriptor to non-blocking */ | 20 | /* set filedescriptor to non-blocking */ |
21 | void set_nonblock(int fd); | 21 | void set_nonblock(int fd); |
22 | |||
23 | /* wrapper for signal interface */ | ||
24 | typedef void (*mysig_t)(int); | ||
25 | mysig_t mysignal(int sig, mysig_t act); | ||