Lines Matching defs:fd
45 int fd, len, size = SECTOR_SIZE;60 fd = open(argv[1], O_RDONLY);61 if (fd == -1) {68 if (fstat(fd, &st) == -1) {70 close(fd);76 close(fd);83 close(fd);87 if (archsw.arch_readin(fd, mem, size) != size) {89 close(fd);92 close(fd);