Lines Matching refs:fd
48 int fd;54 fd = open(fwname, O_RDONLY);55 if (fd < 0) {60 if (fstat(fd, &sb) != 0) {62 close(fd);69 close(fd);75 r = read(fd, buf, sb.st_size);79 close(fd);89 close(fd);102 close(fd);