Go to the first, previous, next, last section, table of contents.


_exit

Syntax

#include <unistd.h>

void _exit(int exit_code);

Description

This function exits the program, returning exit_code to the calling process. No additional processing (such as closing file descriptors or calls to the static destructor functions) is done, and any atexit functions are not called; only the hardware interrupt handlers are unhooked, to prevent system crashes e.g. after a call to abort. This function is normally called only by exit and abort.

Return Value

This function does not return.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.