Return to usbhidaction.c CVS log | Up to [local] / src / usr.bin / usbhidaction |
version 1.15, 2011/03/07 14:59:06 | version 1.16, 2012/03/23 10:04:59 | ||
---|---|---|---|
|
|
||
(void)signal(SIGHUP, sighup); | (void)signal(SIGHUP, sighup); | ||
/* we do not care about the children, so ignore them */ | |||
(void)signal(SIGCHLD, SIG_IGN); | |||
if (demon) { | if (demon) { | ||
if (daemon(0, 0) < 0) | if (daemon(0, 0) < 0) | ||
err(1, "daemon()"); | err(1, "daemon()"); |