diff options
Diffstat (limited to 'stralloc_opys.c')
-rw-r--r-- | stralloc_opys.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stralloc_opys.c b/stralloc_opys.c new file mode 100644 index 0000000..860c7e0 --- /dev/null +++ b/stralloc_opys.c @@ -0,0 +1,8 @@ +#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)); +} |