how to implement suspended job handling of a shell using c
in my shell i need to handle suspended job
as if type Ctrl z, the current job is suspended for example: [type in your command ]$ cat ^C then cat is suspended and the command can be "cat | cat" i what to get some ideas of how to do it and the other question, if the parent process is suspended, will the child process also be suspended together? |
You suspend a process by sending a specific signal to it. To get the most out of your class assignment, do this at the command line:
Code:
man 2 kill Try it! Hope this helps. |
All times are GMT -5. The time now is 01:13 AM. |