_exit()

NAME

_exit() - terminate the calling process

SYNOPSIS

#include <unistd.h>

void _exit (int status)

DESCRIPTION

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

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

RETURN VALUE

_exit(2) can never return.

SEE ALSO

fork(2)

wait(2)

exit(3)