Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created June 24, 2015 21:44
#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