Function psp::sys::sceIoOpen

source ·
#[no_mangle]
pub unsafe extern "C" fn sceIoOpen(
    file: *const u8,
    flags: IoOpenFlags,
    permissions: IoPermissions
) -> SceUid
Expand description

Open or create a file for reading or writing

§Parameters

  • file: Pointer to a string holding the name of the file to open
  • flags: Libc styled flags that are or’ed together
  • permissions: Octal unix permissions.

§Return value

A non-negative integer is a valid fd, anything else an error