Home
last modified time | relevance | path

Searched refs:dmp_file (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/contrib/elf2dmp/
H A Dmain.c419 FILE *dmp_file = fopen(name, "wb"); in write_dump() local
422 if (!dmp_file) { in write_dump()
429 if (fwrite(hdr, sizeof(*hdr), 1, dmp_file) != 1) { in write_dump()
431 fclose(dmp_file); in write_dump()
440 if (fwrite(b->addr, b->size, 1, dmp_file) != 1) { in write_dump()
442 fclose(dmp_file); in write_dump()
447 return !fclose(dmp_file); in write_dump()