Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions [2019/08/16 06:02]
admin
uphp:functions [2019/11/21 08:12] (current)
admin
Line 153: Line 153:
 |[[.functions:​rand]]|<​html><​span style="​color:​green">​int<​span style="​color:​blue">​ min<span style="​color:​black">,​ <span style="​color:​green">​int<​span style="​color:​blue">​ max</​html>​|<​html><​span style="​color:​green">​int</​html>​|<​html>​Return a random <span style="​color:​green">​integer<​span style="​color:​black">​ between <span style="​color:​blue">​min<​span style="​color:​black">​ and <span style="​color:​blue">​max</​html>​| |[[.functions:​rand]]|<​html><​span style="​color:​green">​int<​span style="​color:​blue">​ min<span style="​color:​black">,​ <span style="​color:​green">​int<​span style="​color:​blue">​ max</​html>​|<​html><​span style="​color:​green">​int</​html>​|<​html>​Return a random <span style="​color:​green">​integer<​span style="​color:​black">​ between <span style="​color:​blue">​min<​span style="​color:​black">​ and <span style="​color:​blue">​max</​html>​|
 |[[.functions:​reboot]]|||Reboot the processor| |[[.functions:​reboot]]|||Reboot the processor|
 +|[[.functions:​register_callback]]|<​html><​span style="​color:​green">​string<​span style="​color:​blue">​ callback_type<​span style="​color:​black">,​ <span style="​color:​green">​string<​span style="​color:​blue">​ filename, <span style="​color:​green">​string<​span style="​color:​blue">​ functionname</​html>​|<​html><​span style="​color:​green">​int<​span style="​color:​black">​ 0 or error code</​html>​|<​html>​Register a callback function for system events </​html>​|
 +
 |[[.functions:​rename]]|<​html><​span style="​color:​green">​string<​span style="​color:​blue">​ source<​span style="​color:​black">,​ <span style="​color:​green">​string<​span style="​color:​blue">​ destination</​html>​|<​html><​span style="​color:​green">​int<​span style="​color:​black">​ 0 or error code</​html>​|<​html>​Rename or move a file or directory from <span style="​color:​blue">​source<​span style="​color:​black">​ to <span style="​color:​blue">​destination</​html>​| |[[.functions:​rename]]|<​html><​span style="​color:​green">​string<​span style="​color:​blue">​ source<​span style="​color:​black">,​ <span style="​color:​green">​string<​span style="​color:​blue">​ destination</​html>​|<​html><​span style="​color:​green">​int<​span style="​color:​black">​ 0 or error code</​html>​|<​html>​Rename or move a file or directory from <span style="​color:​blue">​source<​span style="​color:​black">​ to <span style="​color:​blue">​destination</​html>​|
 |[[.functions:​reset]]|||Reset the processor| |[[.functions:​reset]]|||Reset the processor|