You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
246 B
C
11 lines
246 B
C
24 years ago
|
#include "stralloc.h"
|
||
|
#include "fmt.h"
|
||
|
|
||
|
int stralloc_catulong0(stralloc *sa,unsigned long in,unsigned 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;
|
||
|
}
|