nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_modem_os_alloc()

void * nrf_modem_os_alloc ( size_t  bytes)

#include <nrf_modem/include/nrf_modem_os.h>

Allocate a buffer on the library heap.

Parameters
bytesBuffer size.
Returns
A pointer to the allocated memory buffer or NULL if allocation failed.