the Availability of Memory
This section explains the System Utility functionality of checking
the disk space.
Perform one or more of the following steps based
on the requirements:
To check whether the disk space is below the critical level in FFS (also
called the system drive), call
To check whether the disk space is below the critical level in MMC storage,
To check whether the disk space is below the critical level on a disk
The functions return
if the number of bytes
to be written takes the memory below the critical level, else returns
The following is an code fragment illustrating
how to check whether the disk space is below critical level:
TInt dataSize = 500;
if ( SysUtil::DiskSpaceBelowCriticalLevelL( &iFsSession, dataSize, EDriveC ) )
// Cannot write the data, there's not enough free space on disk.
// It's ok to actually write the data.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License