giving signals to other processes
I am writing a shell that needs to be able to restart a stopped process if the user 开发者_开发问答inputs a certain command.
My question is: which system call do I use to be able to give the signal of SIGCONT to the proper pid/pgid?
kill(pid, SIGCONT)
精彩评论