An example using fork, execvp and wait. This function could by used by a Unix shell to run a command and wait for the command to finish before going on.
確定! 回上一頁