Re: Intended difference between waitpid() and waitid() ??

2016-11-07 Thread Robert Elz
Date:Mon, 7 Nov 2016 09:51:32 + From:Geoff Clare Message-ID: <20161107095132.GA14686@lt.loopback> | I am fairly certain the difference is not intentional. OK, thanks. | All certified UNIX systems give an ECHILD error from waitid() |

Re: Intended difference between waitpid() and waitid() ??

2016-11-07 Thread Robert Elz
Date:Sun, 6 Nov 2016 23:19:30 -0500 From:Shware Systems Message-ID: <1583d033695-e5e-e...@webprd-a49.mail.aol.com> | I believe the difference | is to take into account a pid may be both a specific process id and | process group id for a

Re: Intended difference between waitpid() and waitid() ??

2016-11-07 Thread Geoff Clare
Robert Elz wrote, on 06 Nov 2016: > > The spec (C165) for wait() (though this is only relevant to waitpid()) > says ... > > If waitpid( ) was invoked with WNOHANG set in options, it > has at least one child process specified by pid for which status > is not

Intended difference between waitpid() and waitid() ??

2016-11-06 Thread Robert Elz
The spec (C165) for wait() (though this is only relevant to waitpid()) says ... If waitpid( ) was invoked with WNOHANG set in options, it has at least one child process specified by pid for which status is not available, and status is not available for any process