Is the fork system call return then it means?

Đức Lưu

New member
Is the fork system call return then it means?
Answer
The fork system call creates a complete copy of the parent process. … A call to fork
returns the child PID to the parent and zero to the child process. Thus, a program can identify whether it is the parent or child process after a fork by checking this return value.
 

Tìm kiếm

Back
Top