pub unsafe fn ngx_list_init(
list: *mut ngx_list_t,
pool: *mut ngx_pool_t,
n: ngx_uint_t,
size: usize,
) -> ngx_int_tExpand description
Initialize a list, using a pool for the backing memory, with capacity to store the given number of elements and element size.
ยงSafety
listmust be non-nullpoolmust be a valid pool