Lines Matching refs:fd
49 int fd;54 fd = open(name, O_RDONLY|O_BINARY);55 if (fd < 0) {59 if (fstat(fd, &sb) < 0) {61 close(fd);66 close(fd);74 close(fd);80 close(fd);83 n = read(fd, p, nbytes);87 close(fd);93 close(fd);98 close(fd);