proc_part_total()

Total available disk space in a partition

Syntax:

double proc_part_total(const char *path);

Arguments:

Name Description
path partition path (e.g. /home)

Description:

Total available disk space in a partition, in megabytes.

Return Values:

On success, returns the total available disk space. On error, -1 is returned.

See Also:

proc_part_free(), proc_part_pused()



INDEX