CANCEL_ASYNC (oldtype);  result = __waitid (idtype, id, infop, options);
int result = __waitid (idtype, id, infop, options);
waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options){  int oldtype;  int result;  CANCEL_ASYNC (oldtype);  result = __waitid (idtype, id, infop, options);  CANCEL_RESET (oldtype);  return result;}