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