OpenBSD manual page server

Manual Page Search Parameters

_EXIT(2) System Calls Manual _EXIT(2)

_exitterminate the calling process

#include <unistd.h>

_exit(int status);

The _exit() function terminates a process with the following consequences:

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

_exit() can never return.

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

The _exit() function is defined by IEEE Std 1003.1-1988 (“POSIX.1”).

An exit() system call first appeared in Version 1 AT&T UNIX, and an _exit() variant in Version 7 AT&T UNIX.

November 17, 2011 OpenBSD-5.1