Back to FabImage Library website

You are here: Start » Function Reference » File System » CheckDiskSpace

CheckDiskSpace


Header:STD.h
Namespace:fil

Determines the information about the filesystem on which the pathname inPath is located.

Syntax

void fil::CheckDiskSpace
(
	const ftl::Directory& inPath,
	ftl::int64& outCapacity,
	ftl::int64& outFree,
	ftl::int64& outAvailable
)

Parameters

Name Type Default Description
inPath const Directory& \".\" Input path
outCapacity int64& Total size of the filesystem, in bytes
outFree int64& Free space on the filesystem, in bytes
outAvailable int64& Free space available to a non-privileged process (may be equal or less than outFree)