Return a well-known constant after becoming a daemon.

This commit is contained in:
pk 1993-12-19 08:44:42 +00:00
parent 498164e847
commit 47b4886a7f
2 changed files with 4 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}