summaryrefslogtreecommitdiff
path: root/stralloc_cats.c
diff options
context:
space:
mode:
Diffstat (limited to 'stralloc_cats.c')
-rw-r--r--stralloc_cats.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/stralloc_cats.c b/stralloc_cats.c
new file mode 100644
index 0000000..d300286
--- /dev/null
+++ b/stralloc_cats.c
@@ -0,0 +1,10 @@
+#include "byte.h"
+#include "str.h"
+#include "stralloc.h"
+
+int stralloc_cats(sa,s)
+stralloc *sa;
+char *s;
+{
+ return stralloc_catb(sa,s,str_len(s));
+}