tail head cat sleep
QR code linking to this page

Manual Pages  — EXIT

NAME

_exit – terminate the calling process

CONTENTS

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <unistd.h>

void
_exit(int status);

DESCRIPTION

The _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 _exit().

RETURN VALUES

The _exit() system call can never return.

SEE ALSO

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

STANDARDS

The _exit() system call is expected to conform to IEEE Std 1003.1-90 ("POSIX.1").

HISTORY

The _exit() function appeared in AT&T v7 .

EXIT (2) September 8, 2016

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.”