Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc01!hpcuhb!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.wizards Subject: Re: waitpid() ??? Message-ID: <14020110@hpisod2.HP.COM> Date: 15 Aug 90 00:26:26 GMT References: Organization: Hewlett Packard, Cupertino Lines: 13 > >Does anyone have an idea exactly what [waitpid()] does? > > waitpid() is a POSIX function: > > int waitpid(int pid, int *status, int options) > > where the `pid' argument is the process ID of the process to wait > for, or WAIT_ANY to wait for any child; WAIT_ANY does not exist in POSIX. The correct value to wait for any child is -1. Dave Decot