riot_sys::bindgen

Function stdio_write

Source
pub unsafe extern "C" fn stdio_write(
    buffer: *const c_void,
    len: size_t,
) -> ssize_t
Expand description

@brief write @p len bytes from @p buffer into STDOUT

@note Depending on the stdio backend(s) used, not all bytes might be written to stdout and accounted for if multiple backends are active, as not all stdout backends will do a blocking write.

@param[in] buffer buffer to read from @param[in] len nr of bytes to write

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