cs490147@umbc3.UMD.EDU ( Dipto Chakravarty) (05/07/87)
You need to look up the following system calls in order to understand
how to invoke them:- (1) fork, (2) signal, (3) kill (its man entry.)
First, do a fork() /* this takes care of stdin and stdout */
When the special control character(s) comes in, trap it with the
help of signal(). Usually, the ninth signal, SIGKILL is a sure
kill.
Hope this helps ...
Best --
Dipto
in real life: <Dipto Chakravarty>
net: cs490147@umbc3.umd.edu.ARPA