Hương Trang
New member
Which is the correct syntax for exit system call?
Answer
The _exit() system call
Syntax: void _exit(int status); Argument: The status argument given to _exit() defines the termination status of the process, which is available to the parent of this process when it calls wait().
Answer
The _exit() system call
Syntax: void _exit(int status); Argument: The status argument given to _exit() defines the termination status of the process, which is available to the parent of this process when it calls wait().