diff options
| author | Roy Marples <roy@marples.name> | 2007-10-20 16:58:13 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-10-20 16:58:13 +0000 |
| commit | cfbd159f4963a70033562a1ac16c7d0d932497ab (patch) | |
| tree | 6cdf887e6464e3e12796c41797cf6b1ec28d07d3 /common.h | |
| parent | 6b37baaad11ddf85817aaaea5aaac4259b77866f (diff) | |
| download | dhcpcd-cfbd159f4963a70033562a1ac16c7d0d932497ab.tar.xz | |
Write the pidfile before we fork so we can easily be stopped by other processes.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ void srandomdev (void); void close_fds (void); int get_time (struct timeval *tp); time_t uptime (void); +void writepid (int fd, pid_t pid); void *xmalloc (size_t size); char *xstrdup (const char *str); |
