libvarpd_persist_write
if ((err = libvarpd_persist_write(fd, &hdr,
if ((err = libvarpd_persist_write(fd, buf, size)) != 0) {