Re: [hackers] [dwm] Revert "do not call signal-unsafe function inside sighanlder" || Hiltjo Posthuma

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Sat, 30 Jul 2022 11:47:49 +0200

> Hi,

Hi,

> I could not find this specification in the POSIX standard, but [2] > says:
>
> POSIX.1-2001 specifies that if the disposition of SIGCHLD
> is set to SIG_IGN or the SA_NOCLDWAIT flag is set for SIGCHLD
> (see sigaction(2)), then children that terminate do not
> become zombies and a call to wait() or waitpid() will block
> until all children have terminated, and then fail with errno
> set to ECHILD.

Maybe that's https://pubs.opengroup.org/onlinepubs/9699919799/functions/_Exit.html#tag_16_01_03_01
Received on Sat Jul 30 2022 - 11:47:49 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 30 2022 - 11:48:40 CEST