Table of Contents

nvram_free

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

Return the number of bytes available in NVRAM

Description

int nvram_free ( )

Parameters

None

Return Values

Integer: The number of bytes free in NVRAM

Example

<?
  $res=nvram_free();
  print("NVRAM Free Size: ".$res);  
?>

See Also

nvram_backup() - Backup the contents of NVRAM to a file on the SD Card

nvram_defrag() - Defragment NVRAM to optimise it

nvram_dump() - Dump the contents of NVRAM to standard output

nvram_restore() - Restore the contents of NVRAM from a file