Lines Matching defs:file
34 only support the ECOFF object file format. */
88 "premature end of file");
133 static char *saveRead(int file, off_t offset, off_t len, char *name)
138 if ((off = lseek(file, offset, SEEK_SET)) < 0) {
147 count = read(file, tmp, len);
151 count ? strerror(errno) : "End of file reached");
299 /* Try the input file... */
306 /* Read the header, which is at the beginning of the file... */
311 i ? strerror(errno) : "End of file reached");
506 /* Make the output file... */
523 ("Section %d: %s phys %"PRIx32" size %"PRIx32"\t file offset %"PRIx32"\n",
528 fprintf(stderr, "wrote %d byte file header.\n", i);