1iarray_init(3) Library Functions Manual iarray_init(3)
2
3
4
6 iarray_init - initialize iarray data structure
7
9 #include <iarray.h>
10
11 void iarray_init(array* x, size_t elemsize);
12
13 iarray x;
14 int64 pos;
15 t* p = iarray_init(&x,sizeof(element));
16
17
19 iarray_init initializes an iarray so that it can hold elements of size
20 elemsize. iarray_init does not actually allocate anything, so it can
21 not fail.
22
23
25 iarray_allocate(3), iarray_get(3), iarray_free(3)
26
27
28
29 iarray_init(3)