Table of Contents

disk_total_space

WMPRO, WMMINI FW >= 1.55 WMMEGA FW >= 2.0

Return total space on microSD card

Description

int disk_total_space ( )

Parameters

None

Return Values

KiloBytes (KB) total for the microSD card (Bytes/1024, rounded to an integer)

Example

<?
  $dt=disk_total_space();
  print("The card has ".$dt." KiloBytes total."); 
?>

See Also

disk_free_space() - Return free space on microSD card

freemem() - Return free memory space

freestack() - Return free stack space

nvram_free() - Return the number of bytes available in NVRAM