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

FreeBSD Manual Pages

  
 
  

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

NAME
       stralloc_diffs -	check if string	is prefix of stralloc

SYNTAX
       #include	<stralloc.h>

       int stralloc_diffs(stralloc* a,const char* b);

DESCRIPTION
       stralloc_diffs  returns	negative, 0, or	positive, depending on whether
       the \0-terminated string	in a, without the terminating \0,  is  lexico-
       graphically  smaller  than, equal to, or	greater	than the string	stored
       in a.

RETURN VALUE
       <0 if a<b, 0 if a==b, >0	if a>b.

SEE ALSO
       stralloc_diff(3), stralloc_starts(3), str_diff(3)

							     stralloc_diffs(3)

NAME | SYNTAX | DESCRIPTION | RETURN VALUE | SEE ALSO

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

home | help