nrf_modem_os_alloc

Function 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.