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