diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-3AFA592E-ED32-5AC6-B331-E7191CF2D5E2.dita --- a/Symbian3/PDK/Source/GUID-3AFA592E-ED32-5AC6-B331-E7191CF2D5E2.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-3AFA592E-ED32-5AC6-B331-E7191CF2D5E2.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,50 +1,50 @@ - - - - - -Checking -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 FFSSpaceBelowCriticalLevelL() function. - - -To check whether the disk space is below the critical level in MMC storage, -call MMCSpaceBelowCriticalLevelL() function. - - -To check whether the disk space is below the critical level on a disk -drive, call DiskSpaceBelowCriticalLevelL() function. - - -

The functions return ETrue if the number of bytes -to be written takes the memory below the critical level, else returns EFalse.

-Example

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. - ... - } -else - { - // It's ok to actually write the data. - ... - } -
-
-System Utilities -Overview -Retrieving -the Software and Language Versions + + + + + +Checking +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 FFSSpaceBelowCriticalLevelL() function. + + +To check whether the disk space is below the critical level in MMC storage, +call MMCSpaceBelowCriticalLevelL() function. + + +To check whether the disk space is below the critical level on a disk +drive, call DiskSpaceBelowCriticalLevelL() function. + + +

The functions return ETrue if the number of bytes +to be written takes the memory below the critical level, else returns EFalse.

+Example

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. + ... + } +else + { + // It's ok to actually write the data. + ... + } +
+
+System Utilities +Overview +Retrieving +the Software and Language Versions
\ No newline at end of file