diff options
Diffstat (limited to 'stralloc_cats.c')
-rw-r--r-- | stralloc_cats.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/stralloc_cats.c b/stralloc_cats.c new file mode 100644 index 0000000..ea1e290 --- /dev/null +++ b/stralloc_cats.c | |||
@@ -0,0 +1,10 @@ | |||
1 | /* Public domain. */ | ||
2 | |||
3 | #include "byte.h" | ||
4 | #include "str.h" | ||
5 | #include "stralloc.h" | ||
6 | |||
7 | int stralloc_cats(stralloc *sa,const char *s) | ||
8 | { | ||
9 | return stralloc_catb(sa,s,str_len(s)); | ||
10 | } | ||