summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2014-07-09 18:19:40 +0000
committermatthew <matthew@openbsd.org>2014-07-09 18:19:40 +0000
commit5a11c7edcb402aac4335bea16b9983964ed30282 (patch)
tree37e0ed9b33cb0007eefce3694390b4b0bffc5486 /lib/libc/stdlib/malloc.c
parentautoconf(9) is your friend and it knows you more than you think. It (diff)
downloadwireguard-openbsd-5a11c7edcb402aac4335bea16b9983964ed30282.tar.xz
wireguard-openbsd-5a11c7edcb402aac4335bea16b9983964ed30282.zip
Minor cleanups
Rename _waitpid() to safewaitpid() to avoid POSIX reserved identifier namespace. KNF nit: return value expressions should be surrounded by parentheses, per style(9). Ensure SIGCHLD is set to SIG_DFL, not SIG_IGN. POSIX allows (and requires under XSI) that terminated child processes not leave zombies if SIGCHLD is set to SIG_IGN, and it also allows execve() to leave SIGCHLD set to SIG_IGN.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions