Function psp::sys::sceKernelPollMbx

source ·
#[no_mangle]
pub unsafe extern "C" fn sceKernelPollMbx(
    mbx_id: SceUid,
    pmessage: *mut *mut c_void
) -> i32
Expand description

Check if a message has arrived in a messagebox

§Parameters

  • mbx_id: The mbx id returned from sceKernelCreateMbx
  • message: A pointer to where a pointer to the received message should be stored

§Return Value

< 0 on error (SCE_KERNEL_ERROR_MBOX_NOMSG if the mbx is empty).