summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc.h b/misc.h
index 16370425a..1dd038960 100644
--- a/misc.h
+++ b/misc.h
@@ -19,3 +19,7 @@ char *strdelim(char **s);
19 19
20/* set filedescriptor to non-blocking */ 20/* set filedescriptor to non-blocking */
21void set_nonblock(int fd); 21void set_nonblock(int fd);
22
23/* wrapper for signal interface */
24typedef void (*mysig_t)(int);
25mysig_t mysignal(int sig, mysig_t act);