delorie.com/djgpp/doc/libc/libc_298.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. Before exiting, all open files are closed and all
atexit
and on_exit
requests are processed.
This function does not return.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
if (argc < 4) { print_usage(); exit(1); } |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |