proc_part_free()

The total free disk space in a partition

Syntax:

double proc_part_free(const char *path);

Arguments:

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

Description:

The total free disk space in a partition, in megabytes.

Return Values:

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

See Also:

proc_part_total(), proc_part_pused()



INDEX