Line 159:
Line 159:
| 1b || bool IOS_RegisterResourceManager(const char* device, int queueid) || Registers device to the device tree, so it can be opened (from Starlet and PPC) || 0 on success
| 1b || bool IOS_RegisterResourceManager(const char* device, int queueid) || Registers device to the device tree, so it can be opened (from Starlet and PPC) || 0 on success
|-
|-
−
| 1c || int IOS_Open(const char* device, int mode) || Similar to IOS_Open on PPC, except now internal to the IOS system || Returns an fd or error (negative)
+
| 1c || int IOS_Open(const char* path, int mode) || Generates a file descriptor, and notifies the device if the path points to a device. || The file descriptor
|-
|-
| 1d || int IOS_Close(int fd) || Close a previously opened fd || 0 on success
| 1d || int IOS_Close(int fd) || Close a previously opened fd || 0 on success