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

11 lines
255 B
C

#include "stralloc.h"
#include "fmt.h"
int stralloc_catulong0(stralloc *sa,unsigned long int in,unsigned long int n) {
if (stralloc_readyplus(sa,fmt_ulong0(0,in,n))) {
sa->len+=fmt_ulong0(sa->s+sa->len,in,n);
return 1;
} else
return 0;
}