int proc_part_mount(const char *device, char *mount);
Name | Description |
---|---|
device | device on which path is mounted (e.g. /dev/hda1) |
path | buffer to put the partition path |
Get the path of a partition (e.g. /dev/hda1).
On success, returns the partition path length. On error, -1 is returned.
proc_part_mount(), proc_part_type()
INDEX |