2002-10-17 20:32:03 +00:00
|
|
|
.TH stralloc_chomp 3
|
|
|
|
.SH NAME
|
|
|
|
stralloc_chomp \- remove trailing CR, LF or CRLF
|
|
|
|
.SH SYNTAX
|
|
|
|
.B #include <stralloc.h>
|
|
|
|
|
2002-10-21 14:59:02 +00:00
|
|
|
int \fBstralloc_chomp\fP(stralloc* \fIsa\fR);
|
2002-10-17 20:32:03 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
stralloc_chomp removes trailing CRLF, CR or LF from \fIsa\fR and returns
|
|
|
|
the number of removed characters (i.e. 0, 1 or 2).
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
stralloc_chop(3)
|