diff options
Diffstat (limited to 'stralloc_opys.c')
| -rw-r--r-- | stralloc_opys.c | 10 |
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 | |||
| 5 | int stralloc_copys(sa,s) | ||
| 6 | stralloc *sa; | ||
| 7 | char *s; | ||
| 8 | { | ||
| 9 | return stralloc_copyb(sa,s,str_len(s)); | ||
| 10 | } | ||
