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

Function append_expanded_string

scripts/config/lexer.lex.c:4012–4029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4010}
4011
4012static void append_expanded_string(const char *str)
4013{
4014 const char *end;
4015 char *res;
4016
4017 str++;
4018
4019 res = expand_dollar(&str);
4020
4021 /* push back unused characters to the input stream */
4022 end = str + strlen(str);
4023 while (end > str)
4024 unput(*--end);
4025
4026 append_string(res, strlen(res));
4027
4028 free(res);
4029}
4030
4031void zconf_starthelp(void)
4032{

Callers

nothing calls this directly

Calls 2

expand_dollarFunction · 0.85
append_stringFunction · 0.85

Tested by

no test coverage detected