-
-
Notifications
You must be signed in to change notification settings - Fork 3
array_reset.3
Manvendra Bhangui edited this page Feb 25, 2024
·
4 revisions
array_reset - deallocate array
#include <array.h>
void array_reset(array* x);
array x; array_reset(&x);
If x is allocated, array_reset frees the region that x points to, and switches x to being unallocated.
If x x has failed, array_reset simply switches x to being unallocated.
If x x is unallocated, array_reset has no effect.
array_allocate(3), array_get(3), array_fail(3), array_trunc(3), array_truncate(3)