Function psp::sys::sceKernelGetThreadmanIdList

source ·
#[no_mangle]
pub unsafe extern "C" fn sceKernelGetThreadmanIdList(
    type_: SceKernelIdListType,
    read_buf: *mut SceUid,
    read_buf_size: i32,
    id_count: *mut i32
) -> i32
Expand description

Get a list of UIDs from threadman. Allows you to enumerate resources such as threads or semaphores.

§Parameters

  • type: The type of resource to list, one of SceKernelIdListType.
  • read_buf: A pointer to a buffer to store the list.
  • read_buf_size: The size of the buffer in SceUid units.
  • id_count: Pointer to an integer in which to return the number of IDs in the list.

§Return Value

< 0 on error. Either 0 or the same as idcount on success.