Skip to main content

queue_write

Function queue_write 

Source
pub unsafe extern "C" fn queue_write(
    s: *mut queue_state_t,
    buf: *const u8,
    len: c_int,
) -> c_int
Expand description

Write bytes to a queue. \brief Write bytes to a queue. \param s The queue context. \param buf The buffer containing the bytes to be written. \param len The length of the buffer. \return the number of bytes actually written.