pub unsafe fn ngx_list_init(
list: *mut ngx_list_t,
pool: *mut ngx_pool_s,
n: usize,
size: usize,
) -> isizeExpand 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