Mono Class Library: Mono.Unix.Native.Stdlib Overview | Members

Mono.Unix.Native.Stdlib._Exit Method

Perform normal program termination. [Edit]

[System.CLSCompliant(false)]
public static void _Exit (int status)

Parameters

status
The low-order eight bits of status are generally made available to a parent process. [Edit]

Remarks

The _Exit(3) function terminates without calling the functions registered with the Stdlib.atexit(3) function, and may or may not perform the other actions listed in Stdlib.exit(3).

The C Standard (ISO/IEC 9899:1999 ("ISO C99")) defines the values 0, Stdlib.EXIT_SUCCESS, and Stdlib.EXIT_FAILURE as possible values of status. Cooperating processes may use other values; in a program which might be called by a mail transfer agent, the values described in sysexits(3) may be used to provide more information to the parent process.

This function never returns.

[Edit]

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0