array_reset(3diet)

array_reset3diet

Deallocate array

Usage

#include <array.h>

void array_reset(array* x);

array x;
array_reset(&x);

Overview

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.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.