runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

stralloc_opys.c (173B)


      1 /* Public domain. */
      2 
      3 #include "byte.h"
      4 #include "str.h"
      5 #include "stralloc.h"
      6 
      7 int stralloc_copys(stralloc *sa,const char *s)
      8 {
      9   return stralloc_copyb(sa,s,str_len(s));
     10 }