child_waitpid 1172 lib/common/mainloop.c if (child_waitpid(child, WNOHANG)) { child_waitpid 1233 lib/common/mainloop.c if (!child_waitpid(match, waitflags)) {