Which POSIX system call is used in Unix/Linux operating systems to create a new child process?
Aexec()
Bfork()
Cwait()
Dexit()
Explanation
The fork() system call creates a duplicate child process identical to the parent process. It returns 0 to the child and the child’s PID to the parent process. exec() replaces the current process image with a new program.
Exam Relevance
- Topic: Operating Systems
- Subtopic: System Calls & Unix

No Comments