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