What happens on fork () system call execution?

Đinh Yến

New member
What happens on fork () system call execution?
Answer
System call fork() is used to create processes. It takes no arguments and returns a process ID. The purpose of fork() is
to create a new process, which becomes the child process of the caller. After a new child process is created, both processes will execute the next instruction following the fork() system call.
 

Tìm kiếm

Back
Top