Lines Matching defs:file
36 FILE *file;
43 die("Usage: elf-entry <elf-file>\n");
45 file = fopen(argv[1], "r");
46 if (!file) {
47 perror("Unable to open input file");
51 nread = fread(&hdr, 1, sizeof(hdr), file);
53 perror("Unable to read input file");
54 fclose(file);
59 fclose(file);
73 fclose(file);
90 fclose(file);
96 fclose(file);
101 fclose(file);