1stralloc_chop(3)           Library Functions Manual           stralloc_chop(3)
2
3
4

NAME

6       stralloc_chop - remove and return last char
7

SYNTAX

9       #include <stralloc.h>
10
11       int stralloc_chop(stralloc* sa);
12

DESCRIPTION

14       stralloc_chop  removes  the  last char in the stralloc (if it is empty,
15       stralloc_chop does nothing and returns -1).  This character is cast  to
16       unsigned char and returned.
17

RETURN VALUE

19       chopped character, or -1 if string was empty.
20

SEE ALSO

22       stralloc_chomp(3)
23
24
25
26                                                              stralloc_chop(3)
Impressum