Line 437:
Line 437:
|<code>int OSIsStandbyBoot(void)</code>
|<code>int OSIsStandbyBoot(void)</code>
|Whether the boot is in [https://en.wikipedia.org/wiki/Sleep_mode sleep mode]. Default is 0.
|Whether the boot is in [https://en.wikipedia.org/wiki/Sleep_mode sleep mode]. Default is 0.
+
|}
+
+
===IOS===
+
{| class="wikitable"
+
!Name
+
!Prototype
+
!Description
+
|-
+
|IOS_Open
+
|<code>int IOS_Open(char *path, uint32_t mode)</code>
+
|Gets an handle to an IOS device node at the specified path whith the given mode
+
|-
+
|IOS_Close
+
|<code>int IOS_Close(int fd);</code>
+
|Closes an handle to an IOS device node fd (returned by IOS_Open)
+
|-
+
|IOS_Ioctl
+
|<code>int IOS_Ioctl(int fd, uint32_t request, void *input_buf, uint32_t input_buf_len, void *output_buf, uint32_t output_buf_len)</code>
+
|Sends an ioctl request to an IOS device node fd; input_buf contains the input data for the request, output_buf cointains what the request returns
|}
|}