Re: EINTR on 'wait' clarification

2019-01-17 Thread Joerg Schilling
Volodymyr Boyko wrote: > on freebsd it shows: > > > > SIGCHLD > > wait: Interrupted system call > > > and on linux: > > > > SIGCHLD > > wait done, pid On the certified Solaris, it prints SIGCHLD wait: : Interrupted system call and since there is no exception for SIGCHLD, I would call this the

Re: EINTR on 'wait' clarification

2019-01-16 Thread Jilles Tjoelker
On Thu, Jan 17, 2019 at 12:02:44AM +0200, Volodymyr Boyko wrote: > According to > http://pubs.opengroup.org/onlinepubs/009695399/functions/wait.html: > > The wait() function shall fail if: > > [ECHILD] > > The calling process has no existing unwaited-for child processes. > > [EINTR] > > The funct

EINTR on 'wait' clarification

2019-01-16 Thread Volodymyr Boyko
Hi, According to http://pubs.opengroup.org/onlinepubs/009695399/functions/wait.html: > > The wait() function shall fail if: > [ECHILD] > The calling process has no existing unwaited-for child processes. > [EINTR] > The function was interrupted by a signal. The value of the location pointed > to b