1EXIT(2)                       System Calls Manual                      EXIT(2)
2
3
4

NAME

6       exit - terminate process
7

SYNOPSIS

9       exit(status)
10       int status;
11
12       _exit(status)
13       int status;
14

DESCRIPTION

16       Exit is the normal means of terminating a process.  Exit closes all the
17       process's files and notifies the parent process if it  is  executing  a
18       wait.   The  low-order  8  bits  of  status are available to the parent
19       process.
20
21       This call can never return.
22
23       The C function exit may cause cleanup actions  before  the  final  `sys
24       exit'.  The function _exit circumvents all cleanup.
25

SEE ALSO

27       wait(2)
28

ASSEMBLER

30       (exit = 1.)
31       (status in r0)
32       sys exit
33
34
35
36                                                                       EXIT(2)
Impressum