Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4921 | Serge | 1 | /* |
2 | FUNCTION |
||
3 | <<_Exit>>---end program execution with no cleanup processing |
||
4 | |||
5 | INDEX |
||
6 | _Exit |
||
7 | |||
8 | ANSI_SYNOPSIS |
||
9 | #include |
||
10 | void _Exit(int <[code]>); |
||
11 | |||
12 | TRAD_SYNOPSIS |
||
13 | #include |
||
14 | void _Exit(<[code]>) |
||
15 | int <[code]>; |
||
16 | |||
17 | DESCRIPTION |
||
18 | Use <<_Exit>> to return control from a program to the host operating |
||
19 | environment. Use the argument <[code]> to pass an exit status to the |
||
20 | operating environment: two particular values, < |
||
21 | < |
||
22 | failure in a portable fashion. |
||
23 | |||
24 | <<_Exit>> differs from < |
||
25 | application-defined cleanup functions registered with < |
||
26 | it does not clean up files and streams. It is identical to <<_exit>>. |
||
27 | |||
28 | RETURNS |
||
29 | <<_Exit>> does not return to its caller. |
||
30 | |||
31 | PORTABILITY |
||
32 | <<_Exit>> is defined by the C99 standard. |
||
33 | |||
34 | Supporting OS subroutines required: <<_exit>>. |
||
35 | */ |
||
36 | |||
37 | #include |
||
38 | #include |
||
39 | #include |
||
40 | |||
41 | void |
||
42 | _DEFUN (_Exit, (code), |
||
43 | int code) |
||
44 | { |
||
45 | _exit (code); |
||
46 | }<_exit><_Exit><_Exit><_exit> |