waitpid () 的参数 status 记录了子进程的返回值(即main func 最后一行的 return xxx ,或 exit(xxx) 中的xxx)。根据man page 与bits/waitstatus.h 头 ...
確定! 回上一頁