Function nrfxlib_sys::nrf_modem_os_alloc
source · pub unsafe extern "C" fn nrf_modem_os_alloc(
bytes: usize
) -> *mut c_void
Expand description
Allocate a buffer on the library heap.
bytes
- Buffer size. @returns A pointer to the allocated memory buffer or *NULL
- if allocation failed.