Lines Matching refs:written
482 ssize_t written; in writeline() local
495 written = write (s_fd, s + cur, len - cur); in writeline()
496 } while (written < 0 && errno == EINTR); in writeline()
498 if (written < 0) { in writeline()
502 cur += written; in writeline()
508 written = write (s_fd, "\r" , 1); in writeline()
509 } while ((written < 0 && errno == EINTR) || (written == 0)); in writeline()
511 if (written < 0) { in writeline()
521 ssize_t written; in writeCtrlZ() local
534 written = write (s_fd, s + cur, len - cur); in writeCtrlZ()
535 } while (written < 0 && errno == EINTR); in writeCtrlZ()
537 if (written < 0) { in writeCtrlZ()
541 cur += written; in writeCtrlZ()
547 written = write (s_fd, "\032" , 1); in writeCtrlZ()
548 } while ((written < 0 && errno == EINTR) || (written == 0)); in writeCtrlZ()
550 if (written < 0) { in writeCtrlZ()