array_fail3diet
Switch array to have failed
Usage
#include <array.h>
void array_fail(array* x);
array x;
array_fail(&x);
Overview
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.
Releases
Unchanged in 4 releases since Debian 3.1 (Sarge).