summaryrefslogtreecommitdiff
path: root/openbsd-compat/strnlen.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-06-07 14:26:54 +1000
committerDarren Tucker <dtucker@dtucker.net>2019-06-07 14:26:54 +1000
commitd220b675205185e0b4d6b6524acc2e5c599ef0e2 (patch)
tree8659bc219f9375ccc82830c7c7b22e349bffa46a /openbsd-compat/strnlen.c
parent1bd4f7f25f653e0cadb2e6f25d79bc3c35c6aa4d (diff)
Have pthread_create return errno on failure.
According to POSIX, pthread_create returns the failure reason in the non-zero function return code so make the fork wrapper do that. Matches previous change.
Diffstat (limited to 'openbsd-compat/strnlen.c')
0 files changed, 0 insertions, 0 deletions