Instantly share code, notes, and snippets.

Embed
What would you like to do?
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/resource.h>
pid_t wait3(int *statloc, int options, struct rusage *rusage);
pid_t wait4(pid_t pid, int *statloc, int options, struct rusage *rusage);
/* Both return: process ID if OK, 0, or −1 on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment