Function psp::sys::sceIoLseek32

source ·
#[no_mangle]
pub unsafe extern "C" fn sceIoLseek32(
    fd: SceUid,
    offset: i32,
    whence: IoWhence
) -> i32
Expand description

Reposition read/write file descriptor offset (32bit mode)

§Parameters

  • fd: Opened file descriptor with which to seek
  • offset: Relative offset from the start position given by whence
  • whence: Set to IoWhence::Set to seek from the start of the file, IoWhence::Cur seek from the current position and IoWhence::End to seek from the end.

§Return value

The position in the file after the seek.