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

pub unsafe extern "C" fn os_mbuf_get(
    omp: *mut os_mbuf_pool,
    arg1: u16
) -> *mut os_mbuf

Get an mbuf from the mbuf pool. The mbuf is allocated, and initialized prior to being returned.

Return: An initialized mbuf on success, and NULL on failure.