diff options
author | Vladimir Kotal <Vladimir.Kotal@Sun.COM> | 2009-09-15 20:20:20 +0200 |
---|---|---|
committer | Vladimir Kotal <Vladimir.Kotal@Sun.COM> | 2009-09-15 20:20:20 +0200 |
commit | 44991a1c1bb35cccb6bf99cb6dce14864dcee19c (patch) | |
tree | e43389c0b05fa250ba59ff5a593557f7e2446ef5 /usr/src/head/stdlib.h | |
parent | 9d48f5d37dfc1f8378818cf3d2baa2ccf7990c38 (diff) | |
download | illumos-joyent-44991a1c1bb35cccb6bf99cb6dce14864dcee19c.tar.gz |
PSARC/2009/444 daemon() in libc
4471189 should have 4.4BSD's daemon() utility function
Diffstat (limited to 'usr/src/head/stdlib.h')
-rw-r--r-- | usr/src/head/stdlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/head/stdlib.h b/usr/src/head/stdlib.h index 94ac6d8018..ba1343433d 100644 --- a/usr/src/head/stdlib.h +++ b/usr/src/head/stdlib.h @@ -20,7 +20,7 @@ */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -30,8 +30,6 @@ #ifndef _STDLIB_H #define _STDLIB_H -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.22 */ - #include <iso/stdlib_iso.h> #include <iso/stdlib_c99.h> @@ -215,6 +213,7 @@ extern int unsetenv(const char *); #if defined(__EXTENSIONS__) || \ (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) extern void closefrom(int); +extern int daemon(int, int); extern int dup2(int, int); extern int fdwalk(int (*)(void *, int), void *); extern char *qecvt(long double, int, int *, int *); @@ -317,6 +316,7 @@ extern int unsetenv(); #if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) extern void closefrom(); +extern int daemon(); extern int dup2(); extern int fdwalk(); extern char *qecvt(); |