Return a well-known constant after becoming a daemon.
This commit is contained in:
parent
498164e847
commit
47b4886a7f
@ -33,7 +33,7 @@
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
/*static char sccsid[] = "from: @(#)daemon.c 5.3 (Berkeley) 12/28/90";*/
|
||||
static char rcsid[] = "$Id: daemon.c,v 1.2 1993/08/01 18:31:59 mycroft Exp $";
|
||||
static char rcsid[] = "$Id: daemon.c,v 1.3 1993/12/19 08:44:42 pk Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/fcntl.h>
|
||||
@ -63,4 +63,5 @@ daemon(nochdir, noclose)
|
||||
(void) close(devnull);
|
||||
}
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
/*static char sccsid[] = "from: @(#)daemon.c 5.3 (Berkeley) 12/28/90";*/
|
||||
static char rcsid[] = "$Id: daemon.c,v 1.2 1993/08/01 18:31:59 mycroft Exp $";
|
||||
static char rcsid[] = "$Id: daemon.c,v 1.3 1993/12/19 08:44:42 pk Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/fcntl.h>
|
||||
@ -63,4 +63,5 @@ daemon(nochdir, noclose)
|
||||
(void) close(devnull);
|
||||
}
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user