Function psp::sys::sceIoDread

source ·
#[no_mangle]
pub unsafe extern "C" fn sceIoDread(
    fd: SceUid,
    dir: *mut SceIoDirent
) -> i32
Expand description

Reads an entry from an opened file descriptor.

§Parameters

  • fd: Already opened file descriptor (using sceIoDopen)
  • dir: Pointer to an SceIoDirent structure to hold the file information

§Return value

Read status

  • 0 - No more directory entries left
  • 0 - More directory entired to go

  • < 0 - Error