> I have a program that forks, creating a child, and this child forks
> again, creating a child of its own. Both child and sub-child continue
> running for the life of the program.
> I need for the main parent program to have the process-id of its child
> (that's easy), and the process-id of the child's child.
> The only way I can figure out how to do this is to create an unnamed
> pipe befor the first child is created, and have the child's child write
> its process-id into the pipe.
--
# Have you read your Book In Basic Life Education today ? You should !! #
# Any views I express are not necessarily those of Brighton Polytechnic #
###################### "surivorter erutangis a ma I" ######################