Hints的重要点 The waitpid(), kill(), fork(), execve(), setpgid(), and sigprocmask() functions will come in very handy. The WUNTRACED and WNOHANG options to waitpid will also be useful.(在什么地方用?) be sure to send SIGINT and SIGTSTP signals to the en- tire foreground process group, using “-pid” instead of “pid” in the argument to the kill function. |
|