This is waitpid.c in view mode; [Download] [Up]
int waitpid (pid, stat_loc, options) int pid, *stat_loc, options; { for (;;) { int wpid = wait(stat_loc); if (wpid == pid || wpid == -1) return wpid; } }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.