EXIT(2) System Calls Manual EXIT(2)

NAME

_Exit, _exitterminate the calling process

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <stdlib.h>

void
_Exit(int status);

#include <unistd.h>

void
_exit(int status);

DESCRIPTION

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().

RETURN VALUES

_Exit() and _exit() can never return.

SEE ALSO

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

STANDARDS

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 6.1