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

FreeBSD Manual Pages

  
 
  

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

NAME
     stralloc_init - initialize a stralloc

SYNTAX
     #include <libowfat/stralloc.h>

     void stralloc_init(stralloc* sa);

DESCRIPTION
     stralloc_init initializes a stralloc to the empty string.

     It  does  not  free  any memory previously associated with a stralloc.  Use
     stralloc_free(3) for that.  If you just  want  to	empty  a  stralloc,  use
     stralloc_zero(sa) instead.

RETURN VALUE
     none.

SEE ALSO
     stralloc_free(3), stralloc_copys(3)

								stralloc_init(3)

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

home | help