summary refs log tree commit diff
path: root/src/stralloc_opys.c
blob: 075b6f84ccac68cec09eabcb967d8837d00173d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
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));
}