Function esp_idf_sys::os_mempool_init
source ยท pub unsafe extern "C" fn os_mempool_init(
mp: *mut os_mempool,
blocks: u16,
block_size: u32,
membuf: *mut c_void,
name: *const c_char,
) -> os_error_t
Expand description
Initialize a memory pool.
@param mp Pointer to a pointer to a mempool @param blocks The number of blocks in the pool @param blocks_size The size of the block, in bytes. @param membuf Pointer to memory to contain blocks. @param name Name of the pool.
@return os_error_t