1array_fail(3) Library Functions Manual array_fail(3)
23
4
NAME
6array_fail - switch array to have failed
7
SYNTAX
9#include <array.h>
1011
void array_fail(array* x);
1213
array x;
14array_fail(&x);
1516
DESCRIPTION
18If x is allocated, array_fail frees the region that x points to, and
19switches x to have failed.
2021
If x is unallocated, array_fail simply switches x to have failed.
2223
If x has already failed, array_fail has no effect.
24
SEE ALSO
26array_allocate(3), array_reset(3)
2728
29
30
array_fail(3)