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

pub unsafe extern "C" fn os_msys_get(
    dsize: u16,
    leadingspace: u16
) -> *mut os_mbuf

Allocate a mbuf from msys. Based upon the data size requested, os_msys_get() will choose the mbuf pool that has the best fit.

Return: A freshly allocated mbuf on success, NULL on failure.