diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2022-11-12 16:31:01 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022-11-12 12:22:38 -0500 |
commit | 377218cb963aa20c6eb91781b0c79ad606631e6f (patch) | |
tree | f7791947b438af0d1daa2cb7093edd40fb477b40 /src/linux/wait4.c | |
parent | 29e4319178cbc2a4e9f058a99ae8098d4b6ac055 (diff) | |
download | musl-377218cb963aa20c6eb91781b0c79ad606631e6f.tar.gz musl-377218cb963aa20c6eb91781b0c79ad606631e6f.tar.xz musl-377218cb963aa20c6eb91781b0c79ad606631e6f.zip |
pthread_atfork: fix return value on malloc failure
POSIX requires pthread_atfork to report errors via its return value, not via errno. The only specified error is ENOMEM.
Diffstat (limited to 'src/linux/wait4.c')
0 files changed, 0 insertions, 0 deletions