libowfat/stralloc/stralloc_catulong0.3
leitner 5eb1cdf888 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
2004-11-25 21:29:35 +00:00

18 lines
556 B
Groff

.TH stralloc_catulong0 3
.SH NAME
stralloc_catulong0 \- append an integer to a stralloc
.SH SYNTAX
.B #include <stralloc.h>
int \fBstralloc_catulong0\fP(stralloc* \fIsa\fR, unsigned long int \fIin\fR, unsigned long int \fIn\fR);
.SH DESCRIPTION
stralloc_catulong0 converts in to a string using \fBfmt_ulong0\fR and
appends the result to \fIsa\fR, allocating memory as necessary.
If there was a memory allocation failure, stralloc_catulong0 returns 0,
else 1.
.SH "RETURN VALUE"
1 for success, 0 on memory allocation failure.
.SH "SEE ALSO"
fmt_ulong0(3)