next up previous contents
Next: fstat: return statistics on Up: MOSS system calls Previous: close: close an open

_exit: terminate the program without cleanup

SYNOPSIS

void exit(int rc);

DESCRIPTION

This system call implements the POSIX _exit function, which terminates the program without calling C library cleanup functions such as atexit() handlers. However, all memory allocated by the program is still freed, open file descriptors are closed, etc.

PARAMETERS

rc
The exit code to return to DOS.



Bryan Ford