This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 
                    uphp:functions:disk_free_space [2017/02/21 09:19] jeff created  | 
                
                    uphp:functions:disk_free_space [2021/09/13 05:57] (current) | 
            ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======disk_free_space====== | ======disk_free_space====== | ||
| - | < | ||
| - | Return  | + | < | 
| + | |||
| + | Return  | ||
| ====Description==== | ====Description==== | ||
| - | <well size=" | + | |
| - | <span style=" | + | <well size=" | 
| - | ( ) | + | <span style=" | 
| - | </ | + | </ | 
| ====Parameters==== | ====Parameters==== | ||
| - | None | ||
| - | ====Return  | + | < | 
| - | KiloBytes (KB) available on the microSD card (Bytes/ | + | ====Return  | 
| + | |||
| + | KiloBytes (KB) total for the microSD card (Bytes/ | ||
| ====Example==== | ====Example==== | ||
| - | <code php><? | + | |
| - | $df=disk_free_space(); | + | <code php> | 
| - | print(" | + | <? | 
| - | ?></ | + | $dt=disk_total_space(0); | 
| + |   print(" | ||
| + | ?> | ||
| + | </ | ||
| ====See Also==== | ====See Also==== | ||
| - | [[disk_total_space()]] - Return  | + | |
| + | [[disk_total_space()]] - Return  | ||
| + | |||
| + | [[freemem()]] - Return free memory space | ||
| + | |||
| + | [[freestack()]] - Return free stack space | ||
| + | |||
| + | [[nvram_free()]] - Return the number of bytes available in <tooltip title=" | ||