summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-06-10 22:23:57 +0000
committerRoy Marples <roy@marples.name>2008-06-10 22:23:57 +0000
commiteb942e0abce48272767404ca604573d3ea674302 (patch)
tree479c4d8049b34bb3758034ca0bd2354dce079ce3 /common.h
parent7349c9bf8cf950dfb92d53f9a860f34b33d97229 (diff)
downloaddhcpcd-eb942e0abce48272767404ca604573d3ea674302.tar.xz
Remove the signal array stack as our pipe handling should be secure enough now. Also, move the normalize close_on_exec and setting non block.
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.h b/common.h
index 817ccaaa..94a1cc0c 100644
--- a/common.h
+++ b/common.h
@@ -71,7 +71,8 @@ int closefrom(int);
#endif
int close_fds(void);
-int close_on_exec(int);
+int set_cloexec(int);
+int set_nonblock(int);
int fd_hasdata(int);
ssize_t get_line(char **, size_t *, FILE *);
int get_time(struct timeval *);