diff options
| author | cvs2svn <admin@example.com> | 2022-05-04 18:02:08 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2022-05-04 18:02:08 +0000 |
| commit | 3c94dc45dfb15483d76c47a128ec352cc0b655ac (patch) | |
| tree | a7cfb4512c784e9518f1b1c2f4009295b8766ef4 /src/lib/libc/stdlib/_Exit.c | |
| parent | f32cca700e59c0fd1ddd8f1fd4b35a5401be28fe (diff) | |
| download | openbsd-tb_20220504.tar.gz openbsd-tb_20220504.tar.bz2 openbsd-tb_20220504.zip | |
This commit was manufactured by cvs2git to create tag 'tb_20220504'.tb_20220504
Diffstat (limited to 'src/lib/libc/stdlib/_Exit.c')
| -rw-r--r-- | src/lib/libc/stdlib/_Exit.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/libc/stdlib/_Exit.c b/src/lib/libc/stdlib/_Exit.c deleted file mode 100644 index ccf64c2e87..0000000000 --- a/src/lib/libc/stdlib/_Exit.c +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* $OpenBSD: _Exit.c,v 1.3 2013/04/03 03:39:29 guenther Exp $ */ | ||
| 2 | |||
| 3 | /* | ||
| 4 | * Placed in the public domain by Todd C. Miller on January 21, 2004. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <stdlib.h> | ||
| 8 | #include <unistd.h> | ||
| 9 | |||
| 10 | /* | ||
| 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. | ||
| 13 | * Whether or not stdio buffers are flushed or temporary files are removed | ||
| 14 | * is implementation-dependent in C99. Indeed, POSIX specifies that | ||
| 15 | * _Exit() must *not* flush stdio buffers or remove temporary files, but | ||
| 16 | * rather must behave exactly like _exit() | ||
| 17 | */ | ||
| 18 | void | ||
| 19 | _Exit(int status) | ||
| 20 | { | ||
| 21 | _exit(status); | ||
| 22 | } | ||
