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

Parameters

None

Return Value

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 free NVRAM space

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