Lines Matching refs:file
129 static char *get_flog_buff(const char *file, unsigned int *klen)
135 fd = open(file, O_RDONLY);
163 static char *get_log_buff(const char *file, unsigned int *klen)
165 return file ? get_flog_buff(file, klen) : get_klog_buff(klen);
259 printf(" -O <file> Write binary image of code to file, don't disassemble to stdout.\n");
260 printf(" -f <file> Read last image dump from file or stdin (default: klog).\n");
267 char *kbuff, *file = NULL;
283 file = optarg;
293 kbuff = get_log_buff(file, &klen);
311 fprintf(stderr, "Could not open file %s for writing: ", ofile);