about summary refs log tree commit diff
path: root/src/unistd/dup2.c
diff options
context:
space:
mode:
authorAlexey Izbyshev <izbyshev@ispras.ru>2022-11-12 16:31:01 +0300
committerRich Felker <dalias@aerifal.cx>2022-11-12 12:22:38 -0500
commit377218cb963aa20c6eb91781b0c79ad606631e6f (patch)
treef7791947b438af0d1daa2cb7093edd40fb477b40 /src/unistd/dup2.c
parent29e4319178cbc2a4e9f058a99ae8098d4b6ac055 (diff)
downloadmusl-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/unistd/dup2.c')
0 files changed, 0 insertions, 0 deletions