int oldtype; int result;
int oldtype = CANCEL_ASYNC ();
msgrcv (int msqid, void *msgp, size_t msgsz, long int msgtyp, int msgflg){  int oldtype;  int result;  CANCEL_ASYNC (oldtype);  result = __libc_msgrcv (msqid, msgp, msgsz, msgtyp, msgflg);  CANCEL_RESET (oldtype);  return result;}