www.delorie.com/djgpp/doc/libc-2.01/libc_252.html   search  
Go to the first, previous, next, last section, table of contents.


_exit

Syntax

#include <stdlib.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.


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997