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