Path: utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpcea!hpfcdc!rml From: rml@hpfcdc.HP.COM (Bob Lenk) Newsgroups: comp.unix.questions Subject: Re: wait3 emulation in SYSTEMV ?? Message-ID: <5740017@hpfcdc.HP.COM> Date: 26 Jan 88 23:59:43 GMT References: <360@rruxa.UUCP> Organization: HP Ft. Collins, Co. Lines: 14 > The newer versions of System V provide the possibilty to check > the existence of a process by sending a signal 0 to the process > in question and checking for an error return. This would allow > you to write a write a pseudo wait3() function for terminated > processes: All versions of System V (and System III) permit the use of signal 0. However, at least through V.2.* (and I haven't checked V.3.* but wouldn't expect a change) kill() permits killing a zombie. This is different from BSD, where kill() returns ESRCH on attempts to kill a zombie. Bob Lenk {ihnp4, hplabs}!hpfcla!rml