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