File: stralloc_cats.c

package info (click to toggle)
runit 2.1.2-9.2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,660 kB
  • ctags: 1,087
  • sloc: ansic: 5,701; sh: 664; makefile: 361
file content (10 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
/* Public domain. */

#include "byte.h"
#include "str.h"
#include "stralloc.h"

int stralloc_cats(stralloc *sa,const char *s)
{
  return stralloc_catb(sa,s,str_len(s));
}