Function psp::sys::sceKernelTryAllocateVpl

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

Try to allocate from the pool

§Parameters

  • uid: The UID of the pool
  • size: The size to allocate
  • data: Receives the address of the allocated data

§Return Value

0 on success, < 0 on error