1 /* 2 * reimplementation of Daniel Bernstein's unix library. 3 * placed in the public domain by Uwe Ohse, uwe@ohse.de. 4 */ 5 #include "stralloc.h" 6 #include "gen_alloci.h" 7 8 int stralloc_append(stralloc * s,const char * t)9stralloc_append(stralloc *s, const char *t) 10 { 11 return gen_alloc_append(&s->s,sizeof(*t), &s->len, &s->a, t); 12 } 13