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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

wait()

A

wait()

Blocks the calling process until its child process exits or signal is recieved

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

execve()

A

execve()

Executes the program pointed to by the

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

exit()

A

exit()

Terminates the current process and performs a cleanup afterwards

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

kill(sig,PID)

A

kill(sig,PID)

Send a signal to another process to terminate it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly