array_cat(3)

array_cat3

Append one array to another

Usage

#include <libowfat/array.h>

void array_cat(array* x,array* y);

array x;
array y;
array_cat(&x,&y);

Overview

array_cat appends y to x; i.e., it changes x, allocating more space if necessary, so that the initialized bytes in x are the previously initialized bytes in x followed by a copy of the initialized bytes in y.

If x has failed, array_cat has no effect.

If y has failed, array_cat switches x to have failed.

If not enough memory is available, array_cat switches x to have failed.

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.