summaryrefslogtreecommitdiff
path: root/src/libstddjb/string_quote_nodelim.c
blob: dfe41cedb88e649c22dec6563574c26aedfa6175 (plain)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <skalibs/stralloc.h>
#include <skalibs/skamisc.h>

int string_quote_nodelim (stralloc *sa, char const *s, unsigned int len)
{
  return string_quote_nodelim_mustquote(sa, s, len, "\"", 1) ;
}