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