Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

Unix

Unix v7

exit(2)


EXIT

EXIT

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
ASSEMBLER

NAME

exit − terminate process

SYNOPSIS

exit(status)
int status;

_exit(status)
int status;

DESCRIPTION

Exit is the normal means of terminating a process. Exit closes all the process’s files and notifies the parent process if it is executing a wait. The low-order 8 bits of status are available to the parent process.

This call can never return.

The C function exit may cause cleanup actions before the final ’sys exit’. The function _exit circumvents all cleanup.

SEE ALSO

wait(2)

ASSEMBLER

(exit = 1.)
(status in r0)
sys exit



exit(2)