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

NAME

6       stralloc_chomp - remove trailing CR, LF or CRLF
7

SYNTAX

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

DESCRIPTION

14       stralloc_chomp  removes trailing CRLF, CR or LF from sa and returns the
15       number of removed characters (i.e. 0, 1 or 2).
16

RETURN VALUE

18       number of removed characters (0, 1, or 2).
19

SEE ALSO

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