Changes

109 bytes added ,  22:07, 18 April 2022
→‎Public functions: clarified blocking of OpenAsync
Line 10: Line 10:  
|-
 
|-
 
| <code>int IOS_OpenAsync(char *path, int mode, void (*callback)(int, void *), void *userData)</code>
 
| <code>int IOS_OpenAsync(char *path, int mode, void (*callback)(int, void *), void *userData)</code>
| Calls IOS_Open, calling <code>callback</code> when a response is received. May return an error code if something fails before sending the request. Unlike the IOS syscall, this does not block.
+
| Calls IOS_Open, calling <code>callback</code> when a response is received. May return an error code if something fails before sending the request. Unlike the IOS syscall, this does not block, although because the IPC thread in IOS blocks, no other requests will go through until the device is opened.
 
|-
 
|-
 
| <code>int IOS_Open(char *path, int mode)</code>
 
| <code>int IOS_Open(char *path, int mode)</code>
5,579

edits