smbios_xwrite
if (smbios_xwrite(shp, fd, &ep, sizeof (ep)) == -1 ||
smbios_xwrite(shp, fd, shp->sh_buf, shp->sh_buflen) == -1)