Changes

773 bytes added ,  11:05, 14 August 2016
Line 34: Line 34:  
|Returns the amount of seconds that are left until the WiiU powers down, if the Auto Power-Down setting is True. apd_secs is a pointer to the variable that stores the amount of seconds.
 
|Returns the amount of seconds that are left until the WiiU powers down, if the Auto Power-Down setting is True. apd_secs is a pointer to the variable that stores the amount of seconds.
 
|}
 
|}
 +
===Memory===
 +
{| class="wikitable"
 +
!Name
 +
!Prototype
 +
!Description
 +
|-
 +
|memset
 +
|<code>void memset(void *str, int c, size_t n)</code>
 +
|Copies the character c (an unsigned char) to the first n characters of the String pointed to by the argument str. See  [http://www.tutorialspoint.com/c_standard_library/c_function_memset.htm]
 +
|-
 +
|memcpy
 +
|<code>void memcpy(void *str1, const void *str2, size_t n)</code>
 +
|Copies n characters from memory area str2 to memory area str1. See [http://www.tutorialspoint.com/c_standard_library/c_function_memcpy.htm]
 +
|-
 +
|memmove
 +
|<code>void memmove(void *str1, const void *str2, size_t n)</code>
 +
|Like memcpy() but safer when dealing with overlapping blocks. See [http://www.tutorialspoint.com/c_standard_library/c_function_memmove.htm]
 +
|}
 +
 
===Cache===
 
===Cache===
 
{| class="wikitable"
 
{| class="wikitable"
Line 302: Line 321:  
|-
 
|-
 
|OSShutdown
 
|OSShutdown
|<code>int OSShutdown(void)</code>
+
|<code>int OSShutdown(int status)</code>
 
|Shuts down the console. Behaves identical to holding down the power button. Returns 1 on success
 
|Shuts down the console. Behaves identical to holding down the power button. Returns 1 on success
 
|}
 
|}