As pointed out by Rahul_123 on Discord. We should be as posix compliant as possible given limitations. If you look at the applicable specs https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_wait.h.html and https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html versus the posixlib source it is definitely not correct and/or incomplete.