int oldtype; pid_t result;
int oldtype = CANCEL_ASYNC ();
waitpid (pid_t pid, int *stat_loc, int options){  int oldtype;  pid_t result;  CANCEL_ASYNC (oldtype);  result = __libc_waitpid (pid, stat_loc, options);  CANCEL_RESET (oldtype);  return result;}