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

FreeBSD Manual Pages

  
 
  

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

NAME
       xt_strptrcasecmp() - Compare two	strings	through	char **	pointers, case
       insensitive

LIBRARY
       #include	<xtend/string.h>
       -lxtend

SYNOPSIS
       int     xt_strptrcasecmp(const char **p1, const char **p2)

ARGUMENTS
       p1, p2: Pointers	to pointers to the strings to compare

DESCRIPTION
       Compare	two  strings  without  regard  for case	via indirect pointers.
       This can	be used	by qsort(), heapsort(),	etc.  to  sort	an  argv-style
       pointer	array,	swapping only the pointers rather than the string con-
       tents.

RETURN VALUES
       0 if the	strings	are the	same, a	value <	0 if the string	at p1 is lexi-
       cally < that at p2, a value > 0 otherwise.

SEE ALSO
       strcmp(3)

							   xt_strptrcasecmp(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_strptrcasecmp&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help