pub unsafe extern "C" fn pomp_buffer_read(
buf: *const pomp_buffer,
pos: *mut usize,
p: *mut c_void,
n: usize,
) -> c_intExpand description
Read data from buffer at the given position. @param buf : buffer. @param pos : read position. It will be updated in case of success. @param data : pointer to data to read. @param len : number of bytes to read. @return 0 in case of success, negative errno value in case of error.