summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/stralloc_opys.c
blob: 860c7e04454944a5c5803e1fde7abcd5b6a510e6 (plain)
1
2
3
4
5
6
7
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));
}