summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorguenther <>2013-04-03 03:39:29 +0000
committerguenther <>2013-04-03 03:39:29 +0000
commit11cff5d994e806966b04b96f75aa037925affc34 (patch)
treeffc66fd7e182ccf95b34e537c9dd025348e47963 /src
parent14b45af899b92c226bef4713734f997d10d72354 (diff)
downloadopenbsd-11cff5d994e806966b04b96f75aa037925affc34.tar.gz
openbsd-11cff5d994e806966b04b96f75aa037925affc34.tar.bz2
openbsd-11cff5d994e806966b04b96f75aa037925affc34.zip
Update a comment about standards requirements
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/_Exit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/_Exit.c b/src/lib/libc/stdlib/_Exit.c
index 5a2291a931..ccf64c2e87 100644
--- a/src/lib/libc/stdlib/_Exit.c
+++ b/src/lib/libc/stdlib/_Exit.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: _Exit.c,v 1.2 2005/08/08 08:05:36 espie Exp $ */ 1/* $OpenBSD: _Exit.c,v 1.3 2013/04/03 03:39:29 guenther Exp $ */
2 2
3/* 3/*
4 * Placed in the public domain by Todd C. Miller on January 21, 2004. 4 * Placed in the public domain by Todd C. Miller on January 21, 2004.
@@ -11,9 +11,9 @@
11 * _Exit() is the ISO/ANSI C99 equivalent of the POSIX _exit() function. 11 * _Exit() is the ISO/ANSI C99 equivalent of the POSIX _exit() function.
12 * No atexit() handlers are called and no signal handlers are run. 12 * No atexit() handlers are called and no signal handlers are run.
13 * Whether or not stdio buffers are flushed or temporary files are removed 13 * Whether or not stdio buffers are flushed or temporary files are removed
14 * is implementation-dependent. As such it is safest to *not* flush 14 * is implementation-dependent in C99. Indeed, POSIX specifies that
15 * stdio buffers or remove temporary files. This is also consistent 15 * _Exit() must *not* flush stdio buffers or remove temporary files, but
16 * with most other implementations. 16 * rather must behave exactly like _exit()
17 */ 17 */
18void 18void
19_Exit(int status) 19_Exit(int status)