Searched refs:f_out (Results 1 - 2 of 2) sorted by relevance

/openwrt/tools/firmware-utils/src/
H A Dmkheader_gemtek.c111 FILE *f, *f_out; local
195 f_out = fopen(argv[2], "w");
196 if(!f_out) {
201 fwrite(buf, 1, flen + HDRLEN, f_out);
203 fclose(f_out);
/openwrt/tools/wrt350nv2-builder/src/
H A Dwrt350nv2-builder.c401 FILE *f_out; local
540 f_out = fopen(bin_filename, "wb");
541 if (!f_out) {
545 size = fwrite(buffer, KERNEL_CODE_OFFSET + FLASH_SIZE, 1, f_out);
547 if (ferror(f_out)) {
548 exitcode = ferror(f_out);
555 fclose(f_out);
614 int create_img_file(FILE *f_out, char *out_filename, char *zip_filename) { argument
638 size = fputc(img_hdr[i], f_out);
640 exitcode = ferror(f_out);
[all...]

Completed in 29 milliseconds