int proc_get_part(int id, char *path);
Name | Description |
---|---|
id | partition number (0...num_parts-1) |
path | buffer to put the partition path |
Get a partition from the partitions table
On success, returns the partition path length. On error, -1 is returned.
proc_num_parts(), proc_part_device(), proc_part_type()
INDEX |