Killing a background process from a C program

Doug McDonald mcdonald at aries.scs.uiuc.edu
Sat Jul 28 00:23:38 AEST 1990


In article <159 at matrix.UUCP> you write:
>In article <1990Jul19.151728.17448 at ncs.dnd.ca> marwood at ncs.dnd.ca (Gordon Marwood) writes:
>>I am in the process of converting a Bourne shell script to C, and I am
>>having trouble finding out how to identify and kill background
>>processes.  With the Bourne Shell approach this was simple, using $!.
>>

PPPPP        L        EEEEEEE            A           SSSS         EEEEEEE
P    P       L        E                 A A         S    S        E
P     P      L        E                A   A       S      S       E
P    P       L        E               A     A       S             E
PPPPP        L        EEEE           AAAAAAAAA       SSSS         EEEE
P            L        E             A         A          S        E
P            L        E             A         A    S      S       E
P            L        E             A         A     S    S        E
P            LLLLLLL  EEEEEEE       A         A      SSSS         EEEEEEE

Please, keep discussion relating  to operating systems OUT of comp.lang.c!!
Send them to the correct OS-specific getto!!! In this case, comp.unix.questions.


Doug McDonald



More information about the Comp.unix.questions mailing list