MCPcopy Create free account
hub / github.com/Entware/Entware / print_quoted_string

Function print_quoted_string

scripts/config/parser.tab.c:2023–2038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2021}
2022
2023static void print_quoted_string(FILE *out, const char *str)
2024{
2025 const char *p;
2026 int len;
2027
2028 putc('"', out);
2029 while ((p = strchr(str, '"'))) {
2030 len = p - str;
2031 if (len)
2032 fprintf(out, "%.*s", len, str);
2033 fputs("\\\"", out);
2034 str = p + 1;
2035 }
2036 fputs(str, out);
2037 putc('"', out);
2038}
2039
2040static void print_symbol(FILE *out, struct menu *menu)
2041{

Callers 2

print_symbolFunction · 0.85
zconfdumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected