OpenBSD manual page server

Manual Page Search Parameters

EXIT(2) System Calls Manual EXIT(2)

_Exit, _exitterminate the calling process

library “libc”

#include <stdlib.h>

_Exit(int status);

#include <unistd.h>

_exit(int status);

The _Exit() and _exit() functions are equivalent. They each terminate a process with the following consequences:

Most C programs call the library routine exit(3), which flushes buffers, closes streams, unlinks temporary files, etc., before calling _exit().

_Exit() and _exit() can never return.

fork(2), sigaction(2), wait(2), exit(3)

The _exit() function conforms to IEEE Std 1003.1-1990 (“POSIX.1”). The _Exit() function conforms to ISO/IEC 9899:1999 (“ISO C99”).

April 23, 2002 NetBSD-7.0.1