Lines Matching defs:fd
69 int fd;74 if ((fd = open(fname, O_RDONLY)) >= 0) {75 if (read(fd, rp, n) > 0) {76 (void) close(fd);79 (void) close(fd);134 int fd;173 if ((fd = open(fname, O_WRONLY)) >= 0) {174 if (writev(fd, iov, 2) > 0) {175 (void) close(fd);178 (void) close(fd);