kvm_dump_wrtheader
int kvm_dump_wrtheader(kvm_t *, FILE *, int);
if (kvm_dump_wrtheader(kd_dump, fp, dumpsize) == -1) {