riot_sys::bindgen

Function isrpipe_write_one

Source
pub unsafe extern "C" fn isrpipe_write_one(
    isrpipe: *mut isrpipe_t,
    c: u8,
) -> c_int
Expand description

@brief Put one byte into the isrpipe’s buffer

@param[in] isrpipe isrpipe object to operate on @param[in] c byte to add to isrpipe buffer

@returns 0 if byte could be added @returns -1 if buffer was full