linux中waitpid及wait的用法 ... else { pr=wait(NULL); printf("I catched a child process with pid of ... pid=-1 等待任何子進程,相當於wait()。
確定! 回上一頁