從存在的問題here,有人給了這個例子代碼: int status; child_pid = fork(); if (child_pid == 0) { // in child; do stuff including perhaps exec } else if ...
確定! 回上一頁