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.

§Arguments

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

§Returns

The created buffer header.

The next value is a pointer to the buffer.