diff options
Diffstat (limited to 'ucspi-tcp-0.88/stralloc_opys.c')
-rw-r--r-- | ucspi-tcp-0.88/stralloc_opys.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ucspi-tcp-0.88/stralloc_opys.c b/ucspi-tcp-0.88/stralloc_opys.c new file mode 100644 index 0000000..78594b0 --- /dev/null +++ b/ucspi-tcp-0.88/stralloc_opys.c @@ -0,0 +1,8 @@ +#include "byte.h" +#include "str.h" +#include "stralloc.h" + +int stralloc_copys(stralloc *sa,char *s) +{ + return stralloc_copyb(sa,s,str_len(s)); +} |