Copyright (C) 2000-2012 |
Manpages _EXITSection: Linux Programmer's Manual (2)Updated: 1993-07-21 Index Return to Main Contents NAME_exit - terminate the current processSYNOPSIS#include <unistd.h>DESCRIPTION_exit terminates the calling process immediately. Any open file descriptors belonging to the process are closed; any children of the process are inherited by process 1, init, and the process's parent is sent a SIGCHLD signal.status is returned to the parent process as the process's exit status, and can be collected using one of the wait family of calls. RETURN VALUE_exit never returns.CONFORMING TOSVr4, SVID, POSIX, X/OPEN, BSD 4.3NOTES_exit does not call any functions registered with the ANSI C atexit function and does not flush standard I/O buffers. To do these things, use exit(3).SEE ALSOfork(2), execve(2), waitpid(2), wait4(2), kill(2), wait(2), exit(3)
IndexThis document was created by man2html, using the manual pages. Time: 15:37:38 GMT, January 15, 2025 |