summaryrefslogtreecommitdiffstats
path: root/stralloc_opys.c
diff options
context:
space:
mode:
Diffstat (limited to 'stralloc_opys.c')
-rw-r--r--stralloc_opys.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/stralloc_opys.c b/stralloc_opys.c
new file mode 100644
index 0000000..fdd7807
--- /dev/null
+++ b/stralloc_opys.c
@@ -0,0 +1,10 @@
1#include "byte.h"
2#include "str.h"
3#include "stralloc.h"
4
5int stralloc_copys(sa,s)
6stralloc *sa;
7char *s;
8{
9 return stralloc_copyb(sa,s,str_len(s));
10}