www.delorie.com/djgpp/doc/libc/libc_296.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

_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

ANSI/ISO C No
POSIX No


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004