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