System Calls for Process Control Flashcards
Cover the 5 major System Calls used for Process Control
1
Q
fork()
A
fork()
used to create a child process in the image of the parent process
2
Q
wait()
A
wait()
Blocks the calling process until its child process exits or signal is recieved
3
Q
execve()
A
execve()
Executes the program pointed to by the
4
Q
exit()
A
exit()
Terminates the current process and performs a cleanup afterwards
5
Q
kill(sig,PID)
A
kill(sig,PID)
Send a signal to another process to terminate it