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

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

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