Back to FabImage Library website

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

CheckDiskSpace


Header: STD.h
Namespace: fil
Module: FoundationLite

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
Input value inPath const Directory& \".\" Input path
Output value outCapacity int64& Total size of the filesystem, in bytes
Output value outFree int64& Free space on the filesystem, in bytes
Output value outAvailable int64& Free space available to a non-privileged process (may be equal or less than outFree)