int oldtype; ssize_t result;  CANCEL_ASYNC (oldtype);
int oldtype = CANCEL_ASYNC ();
__write (int fd, const void *buf, size_t count){  int oldtype;  ssize_t result;  CANCEL_ASYNC (oldtype);#ifdef INLINE_SYSCALL  result = INLINE_SYSCALL (write, 3, fd, buf, count);#else  result = __libc_write (fd, buf, count);#endif  CANCEL_RESET (oldtype);  return result;}