delorie.com/djgpp/doc/libc/libc_297.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdlib.h> void _Exit(int exit_code); |
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.
This function does not return.
ANSI/ISO C | C99 (see note 1); not C89 |
POSIX | 1003.1-2001; not 1003.2-1992 |
Notes:
_Exit
may do the additional processing described above.
if (argc < 4) { print_usage(); _Exit(1); } |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |