what the kill() system call should do??
BURNS,JIM
gt0178a at prism.gatech.EDU
Thu Sep 27 10:55:07 AEST 1990
in article <25784.2700d355 at kuhub.cc.ukans.edu>, jian at kuhub.cc.ukans.edu says:
> switch( pid = fork()) {
> case -1:
> perror("for()");
> exit(1);
> case 0:
> ppid = getpid();
Try getppid().
> child_process(ppid);
>
> default:
> signal(SIGUSR1, catch_usr1);
Might want to add:
wait(0);
sleep(5);
--
BURNS,JIM
Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332
uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a
Internet: gt0178a at prism.gatech.edu
More information about the Comp.unix.questions
mailing list