array_equal(3diet)

array_equal3diet

Compare two arrays for equality

Usage

#include <array.h>

int array_equal(array* x,array* y);

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

Overview

array_equal returns nonzero if x and y have the same contents: i.e.,

•

x and y are both unallocated; or

•

x is unallocated, y is allocated, and y has no initialized bytes; or

•

x is allocated, y is unallocated, and x has no initialized bytes; or

•

x and y are both allocated and have the same sequence of initialized bytes.

Otherwise it returns 0.

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.