exit - terminate current thread
Synopsis
Description
#include <std.h>
int exit(int status);
The exit() system call causes the current thread to terminate. If it is the last thread in the given process, the process itself terminates. Process termination generally results in a status structure being queued to a parent process; see waits(2).
EXIT (2) |