Function psp::sys::sceKernelAllocateVpl

source ·
#[no_mangle]
pub unsafe extern "C" fn sceKernelAllocateVpl(
    uid: SceUid,
    size: u32,
    data: *mut *mut c_void,
    timeout: *mut u32
) -> i32
Expand description

Allocate from the pool

§Parameters

  • uid: The UID of the pool
  • size: The size to allocate
  • data: Receives the address of the allocated data
  • timeout: Amount of time to wait for allocation?

§Return Value

0 on success, < 0 on error