scsi_partsize — Parse cylinders/heads/sectors from PC partition table
int scsi_partsize
(unsigned char * buf, unsigned long capacity, unsigned int * cyls, unsigned int * hds, unsigned int * secs);
partition table, see scsi_bios_ptable
size of the disk in sectors
put cylinders here
put heads here
put sectors here
determine the BIOS mapping/geometry used to create the partition table, storing the results in *cyls, *hds, and *secs
-1 on failure, 0 on success.