User Tools

Site Tools


uphp:functions:disk_total_space

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
uphp:functions:disk_total_space [2017/02/21 09:24]
jeff created
uphp:functions:disk_total_space [2021/09/13 05:57] (current)
Line 1: Line 1:
 ======disk_total_space====== ======disk_total_space======
 +
 <badge>WMPRO, WMMINI FW >= 1.55</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.55</badge> <badge>WMMEGA FW >= 2.0</badge>
  
Line 5: Line 6:
  
 ====Description==== ====Description====
-<well size="sm"><html><span style="font-size:125%;color:green;">int + 
-<span style="color:black;"></html>[[disk_total_space]] +<well size="sm"><html> 
-( ) +<span style="font-size:125%;color:green">int 
-</well>+<span style="color:black">disk_total_space ( ) 
 +</html></well>
  
 ====Parameters==== ====Parameters====
 +
 None None
  
-====Return Value==== +====Return Values==== 
-KiloBytes (KB) total for the microSD card (Bytes/1024, rounded to an integer)+ 
 +KiloBytes (KB) total for the microSD card (Bytes/1024, rounded to an <html><b><span style="color:green">integer<span style="color:black"></b></html>)
  
 ====Example==== ====Example====
-<code php><?  + 
-$dt=disk_total_space(); +<code php> 
-print("The card has ".$dt." KiloBytes total.");  +<? 
-?></code>+  $dt=disk_total_space(); 
 +  print("The card has ".$dt." KiloBytes total.");  
 +?> 
 +</code>
  
 ====See Also==== ====See Also====
 +
 [[disk_free_space()]] - Return free space on microSD card [[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 <tooltip title="Non-Volatile RAM">NVRAM</tooltip>
  
uphp/functions/disk_total_space.1487669065.txt.gz · Last modified: 2021/09/13 05:56 (external edit)