Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
array_equal(3)		   Library Functions Manual		array_equal(3)

NAME
       array_equal - compare two arrays	for equality

SYNTAX
       #include	<array.h>

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

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

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

       o      x	and y are both unallocated; or

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

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

       o      x	 and  y	 are both allocated and	have the same sequence of ini-
	      tialized bytes.

       Otherwise it returns 0.

SEE ALSO
       array_allocate(3), array_get(3),	array_fail(3), array_reset(3)

								array_equal(3)

NAME | SYNTAX | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=libowfat_array_equal&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help