Lines Matching refs:write
100 /* use fcntl() to figure out correct read/write flags */
105 /* will get an error on first read/write */
124 internal_errorf(Tf_sD_s, where, "missing read/write");
200 /* can't have a read+write string */
288 * Un-read what has been read but not examined, or write what has been
289 * buffered. Returns 0 for success, -1 for (write) error.
323 * buffer. Returns 0 for success, -1 for (write) error.
370 n = write(shf->fd, buf, ntowrite);
623 while ((n = write(shf->fd, &cc, 1)) != 1)
686 /* then write everything into the buffer */
691 /* write chunks larger than window size directly */
698 n = write(shf->fd, buf, ncopy);
719 /* write remaining bytes to buffer */
1280 write(2, "mksh: could not map EBCDIC to ASCII\n", 36);
1291 write(2, "mksh: duplicate EBCDIC to ASCII mapping\n", 40);
1318 write(2, "mksh: NUL not at position 0\n", 28);