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.

One of the advantages of using UNIX to teach an operating systems course is the sources and documentation will easily fit into a student's briefcase.
— John Lions