summaryrefslogtreecommitdiffstats
path: root/signals.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-07 10:15:14 +0000
committerRoy Marples <roy@marples.name>2007-11-07 10:15:14 +0000
commitde8a9d9887e862c9fefc9b6ff3520c572a57b924 (patch)
tree75d2b37e5be274da2240c96e5b0d0b42de1d7e86 /signals.h
parentcfe160119d801f24ee3e99cf2778b7475085c70d (diff)
downloaddhcpcd-de8a9d9887e862c9fefc9b6ff3520c572a57b924.tar.xz
Clear the signal_pipe fd from the fdset when all signals have
been read.
Diffstat (limited to 'signals.h')
-rw-r--r--signals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/signals.h b/signals.h
index 1accb6cd..b043dbf9 100644
--- a/signals.h
+++ b/signals.h
@@ -22,6 +22,7 @@
void signal_setup (void);
int signal_fd_set (fd_set *rfds, int extra_fd);
-int signal_read (const fd_set *rfds);
+int signal_exists (const fd_set *rfds);
+int signal_read (fd_set *rfds);
#endif