Lines Matching refs:fd
41 int fd;
50 null_ropen(int fd, char *name, int gotmagic)
54 if (fd < 0)
60 s->fd = fd;
69 null_wopen(int fd, char *name, int bits, u_int32_t mtime)
73 if (fd < 0)
79 s->fd = fd;
105 setfile(name, s->fd, sb);
106 err = close(s->fd);
148 return read(s->fd, buf, len);
161 return write(s->fd, buf, len);