Lines Matching defs:fd
134 getident(int fd)
143 if (lseek(fd, 0, SEEK_SET) == -1) {
149 if (read(fd, id, EI_NIDENT) < 0) {
159 iself(int fd)
163 if (!(ident = getident(fd)))
176 iself32(int fd)
180 if (!(ident = getident(fd)))
218 getheaderinfo(int fd)
235 if (!(elf = elf_begin(fd, ELF_C_READ, NULL))) {
387 getdynamic(int fd)
422 if (!(elf = elf_begin(fd, ELF_C_READ, NULL))) {
681 gethashes(int fd, int doelf, int do256, int do512)
691 ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) ||
702 if ((fstat(fd, &status) == -1) ||
704 fd, 0)) == MAP_FAILED)) {