array_reset(3)

array_reset3

Deallocate array

Usage

#include <libowfat/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

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–11
  2. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.