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

FreeBSD Manual Pages

  
 
  

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

NAME
     stralloc_starts - check if string is prefix of stralloc

SYNTAX
     #include <libowfat/stralloc.h>

     int stralloc_starts(stralloc* sa,const char* in);

DESCRIPTION
     stralloc_starts  returns  1  if the \0-terminated string in in, without the
     terminating \0, is a prefix of the string stored in sa.  Otherwise  it  re-
     turns 0. sa must already be allocated.

RETURN VALUE
     1 if in is a prefix of sa, otherwise 0.

SEE ALSO
     str_starts(3)

							      stralloc_starts(3)

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

home | help