1array_reset(3) Library Functions Manual array_reset(3)
2
3
4
6 array_reset - deallocate array
7
9 #include <array.h>
10
11 void array_reset(array* x);
12
13 array x;
14 array_reset(&x);
15
16
18 If x is allocated, array_reset frees the region that x points to, and
19 switches x to being unallocated.
20
21 If x x has failed, array_reset simply switches x to being unallocated.
22
23 If x x is unallocated, array_reset has no effect.
24
25
27 array_allocate(3), array_get(3), array_fail(3), array_trunc(3),
28 array_truncate(3)
29
30
31
32 array_reset(3)