Searched defs:elffd (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/file/ |
H A D | elf_read.h | 39 int elffd; /* fd of file being processed */ member in struct:Elf_Info
|
H A D | file.c | 142 static int elffd = -1; variable 186 int elf_read32(int elffd, Elf_Info *EInfo); 187 int elf_read64(int elffd, Elf_Info *EInfo); 525 elffd = open64(file, O_RDONLY); 526 if (elffd < 0) { 698 ar_coff_or_aout(elffd); 923 ar_coff_or_aout(int elffd) argument 932 elf = elf_begin(elffd, ELF_C_READ, (Elf *)0); 1199 if (check_ident(ident, elffd) == ELF_READ_FAIL) 1208 if (elf_read32(elffd, [all...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | main.c | 870 int elffd = get_executable(filename); local 876 if (elffd < 0) 879 (void) close(elffd); 882 elf = elf_begin(elffd, ELF_C_READ, (Elf *) 0); 887 close(elffd); 895 close(elffd);
|
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 830 int elffd = -1; local 874 if ((elffd = open64(arg, O_RDONLY)) < 0 || 875 (pread64(elffd, ident, EI_NIDENT, 0) != EI_NIDENT)) { 901 if (elffd >= 0) { 902 (void) close(elffd); 903 elffd = -1;
|
Completed in 103 milliseconds