mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
posix_spawn() has a bit of a whacky API in that it doens't return 0 on success and -1 on failure while writing the error code to errno -- it instead returns 0 on success and the error code on error. So assign the return value to errno so that perror() does the right thing.
22 KiB
22 KiB