Function ctru_sys::IPC_Desc_Buffer

source ·
pub unsafe extern "C" fn IPC_Desc_Buffer(
    size: usize,
    rights: IPC_BufferRights
) -> u32_
Expand description

Creates a header describing a buffer from the main memory.


  • size - Size of the buffer. Max 0x0FFFFFFF.
  • rights - The rights of the buffer for the destination process.


The created buffer header.

The next value is a pointer to the buffer.