version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_daemon_c = | | * static char *rcsid_daemon_c = |
* "$Id: daemon.c,v 1.8 2006/05/05 09:47:40 ryo_saeba Exp $"; | | * "$Id: daemon.c,v 1.9 2006/07/05 07:22:03 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* | | /* |
* Set up the standard file descriptors. | | * Set up the standard file descriptors. |
*/ | | */ |
(void) open ("/", O_RDONLY); /* root inode already in core */ | | (void) open ("/dev/null", O_RDONLY); /* root inode already in core */ |
(void) dup2 (0, 1); | | (void) dup2 (0, 1); |
(void) dup2 (0, 2); | | (void) dup2 (0, 2); |
| | |