diff options
| author | Roy Marples <roy@marples.name> | 2008-02-09 21:58:05 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-02-09 21:58:05 +0000 |
| commit | ca1e79c0f854186ce84eb0526e9a29bbb0d0c084 (patch) | |
| tree | f997ba7bd44c5c4d140669804086a102b38383b8 /common.h | |
| parent | 2136d44495f4bd145ab6df48bc951abb70bfe564 (diff) | |
| download | dhcpcd-ca1e79c0f854186ce84eb0526e9a29bbb0d0c084.tar.xz | |
We should only have one bit of code to mark sockets close_on_exec.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,7 +52,8 @@ size_t strlcpy (char *dst, const char *src, size_t size); void srandomdev (void); #endif -void close_fds (void); +int close_fds (void); +int close_on_exec (int fd); char *get_line (FILE *fp); int get_time (struct timeval *tp); time_t uptime (void); |
