Line 9:
Line 9:
Most of these are now implemented in [http://devkitpro.svn.sourceforge.net/viewvc/devkitpro/trunk/libogc/libogc/es.c?view=log libogc]. Please feel free to submit patches to implement the remaining functions.
Most of these are now implemented in [http://devkitpro.svn.sourceforge.net/viewvc/devkitpro/trunk/libogc/libogc/es.c?view=log libogc]. Please feel free to submit patches to implement the remaining functions.
+
== Commands ==
+
{| class="wikitable"
+
! Command !! Name !! Notes
+
|-
+
| 0x1 || Open || ES keeps track of three contexts, one per active handle, so only three handles can be opened at once. -1016 will be returned if the maximum amount of handles is exceeded.
+
|-
+
| 0x2 || Close || -
+
|-
+
| 0x3 || Read || Not supported; returns IPC_EINVAL (-4).
+
|-
+
| 0x4 || Write || Not supported; returns IPC_EINVAL (-4).
+
|-
+
| 0x5 || Seek || Not supported; returns IPC_EINVAL (-4).
+
|-
+
| 0x6 || Ioctl || Not supported; returns IPC_EINVAL (-4).
+
|-
+
| 0x7 || Ioctlv || Up to 0x45 ioctlvs available depending on the version.
+
|-
+
|}
+
== Known ES Functions ==
== Known ES Functions ==