Lines Matching refs:fd
366 int fd = open("/etc/cache_rules", O_RDONLY);367 if (fd < B_OK)368 return fd;371 if (fstat(fd, &stat) != 0) {372 close(fd);379 close(fd);385 close(fd);389 if (read(fd, buffer, stat.st_size) < stat.st_size) {391 close(fd);442 close(fd);