Exit (terminate) the current program. Not to be confused with the C library
call exit, which does additional cleanup before calling this eventually.
The exit syscall is implicitly called when returning from main.
Syntax
void exit (int code);
Parameters
-
codeThe exit code to use. The parent process may retrieve this code by calling waitpid.
Return Value
The function does not return.
Remarks
None