From 220534453eecc2c07ad710d72268aafd20b83138 Mon Sep 17 00:00:00 2001 From: joe Date: Fri, 8 May 2015 23:07:47 -0400 Subject: initial commit --- stralloc_opys.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 stralloc_opys.c (limited to 'stralloc_opys.c') diff --git a/stralloc_opys.c b/stralloc_opys.c new file mode 100644 index 0000000..075b6f8 --- /dev/null +++ b/stralloc_opys.c @@ -0,0 +1,10 @@ +/* Public domain. */ + +#include "byte.h" +#include "str.h" +#include "stralloc.h" + +int stralloc_copys(stralloc *sa,const char *s) +{ + return stralloc_copyb(sa,s,str_len(s)); +} -- cgit v1.2.3