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