Function riot_sys::stdio_read

source ·
pub unsafe extern "C" fn stdio_read(
    buffer: *mut c_void,
    max_len: size_t
) -> ssize_t
Expand description

@brief read @p len bytes from stdio uart into @p buffer

@param[out] buffer buffer to read into @param[in] max_len nr of bytes to read

@return nr of bytes read @return <0 on error