每個程式都有一個唯一id,型別為pid_t(非負整數) ... else if (pid == 0) { printf("===child, pid = %u, ppid = %u\n", getpid(), getppid()); } ...
確定! 回上一頁