proc_part_blocks()

The number of blocks

Syntax:

unsigned int proc_part_blocks(const char *path);

Arguments:

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

Description:

The number of blocks in a partition.

Return Values:

On success, returns the number of blocks. On error, -1 is returned.

See Also:

proc_part_block_size(), proc_part_bfree(), proc_part_bavail() proc_part_files(), proc_part_ffree()



INDEX