[][src]Function mynewt::kernel::os::os_mbuf_append

pub unsafe extern "C" fn os_mbuf_append(
    m: *mut os_mbuf,
    arg1: *const c_void,
    arg2: u16
) -> c_int

Append data onto a mbuf

  • om: The mbuf to append the data onto
  • data: The data to append onto the mbuf
  • len: The length of the data to append

Return: 0 on success, and an error code on failure