_exit.2freebsd

Langue: en

Version: 265837 (debian - 07/07/09)

Section: 2 (Appels système)


BSD mandoc

NAME

_exit - terminate the calling process

LIBRARY

Lb libc

SYNOPSIS

In unistd.h Ft void Fn _exit int status

DESCRIPTION

The Fn _exit system call 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., before calling Fn _exit .

RETURN VALUES

The Fn _exit system call can never return.

SEE ALSO

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

STANDARDS

The Fn _exit system call is expected to conform to St -p1003.1-90 .

HISTORY

The Fn _exit function appeared in AT&T System v7 .