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