On Mon, 12 Aug 2002, Angerstein wrote: > Hello, > can somebody tell me what value getppid has (in the child) if the parent > process has ended? > > I could not find an answer to this. > I guess its 1 or 0, but not sure.
It is 1, when the parent dies before the child the child is taken over by init (pid = 1). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]