int result; int oldtype;  CANCEL_ASYNC (oldtype);
int oldtype = CANCEL_ASYNC ();
creat (const char *pathname, mode_t mode){  int result;  int oldtype;  CANCEL_ASYNC (oldtype);#if defined INLINE_SYSCALL && defined __NR_creat  result = INLINE_SYSCALL (creat, 2, pathname, mode);#else  result = __libc_open (pathname, O_WRONLY|O_CREAT|O_TRUNC, mode);#endif  CANCEL_RESET (oldtype);  return result;}