2 * ngIRCd -- The Next Generation IRC Daemon
9 * waitpid() implementation. Public domain.
10 * Written by Steven D. Blackford for the NeXT system.
17 #include <sys/types.h>
20 waitpid(pid, stat_loc, options)
21 int pid, *stat_loc, options;
24 int wpid = wait(stat_loc);
25 if (wpid == pid || wpid == -1)