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

FreeBSD Manual Pages

  
 
  

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

NAME
     stralloc_chop - remove and return last char

SYNTAX
     #include <libowfat/stralloc.h>

     int stralloc_chop(stralloc* sa);

DESCRIPTION
     stralloc_chop removes the last char in the stralloc (if it is empty, stral-
     loc_chop  does nothing and returns -1).  This character is cast to unsigned
     char and returned.

RETURN VALUE
     chopped character, or -1 if string was empty.

SEE ALSO
     stralloc_chomp(3)

								stralloc_chop(3)

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

home | help