Function ctru_sys::DSP_ReadPipeIfPossible
source · pub unsafe extern "C" fn DSP_ReadPipeIfPossible(
channel: u32_,
peer: u32_,
buffer: *mut c_void,
length: u16_,
length_read: *mut u16_
) -> Result
Expand description
Reads a pipe if possible.
§Arguments
channel
- unknown. Usually 2peer
- unknown. Usually 0buffer
- The buffer that will store the values read from the pipelength
- Length of the bufferlength_read
- Number of bytes read by the command