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