Lines Matching refs:fd
113 file->fd = BLOCK_OUT;
151 if (dest->fd == BLOCK_OUT) {
161 } else if (dest->fd == MEM_OUT) {
188 if (dest->buf == NULL || dest->nextc == dest->buf || dest->fd < 0)
190 if (xwrite(dest->fd, dest->buf, dest->nextc - dest->buf) < 0)
251 strout.fd = BLOCK_OUT;
479 xwrite(int fd, char *buf, int nbytes)
488 i = write(fd, buf, n);
510 xioctl(int fd, unsigned long request, char *arg)
514 while ((i = ioctl(fd, request, arg)) == -1 && errno == EINTR);