User Tools

Site Tools


uphp:functions:disk_free_space

This is an old revision of the document!


disk_free_space

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

Return free space on microSD card

Description

int disk_free_space ( )

Parameters

None

Return Values

KiloBytes (KB) available on the microSD card (Bytes/1024, rounded to an integer)

Example

<?
  $df=disk_free_space();
  print("The card has ".$df." KiloBytes free."); 
?>

See Also

disk_total_space() - Return total space on microSD card

freemem() - Return free memory space

freestack() - Return free stack space

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

uphp/functions/disk_free_space.1494542728.txt.gz · Last modified: 2021/09/13 05:56 (external edit)