What does wait system call do?单项选择题

A

Send a specified signal (such as SIGTERM) to a process identified by its PID, allowing the process to be terminated or otherwise controlled.

B

Suspend the execution of the calling (parent) process until one of its child processes terminates, then return the child’s PID and exit status.

C

Replace the current process image with a new program. The PID stays the same, but the code, data, and stack are completely overwritten.

D

Create a new process by duplicating the calling process. The child has a new PID but initially shares the same memory image and open files as the parent.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!