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

Function expand_one_token

scripts/config/preprocess.c:575–578  ·  view source on GitHub ↗

* Expand variables in a token. The parsing stops when a token separater * (in most cases, it is a whitespace) is encountered. 'str' is updated to * point to the next character. * * The returned string must be freed when done. */

Source from the content-addressed store, hash-verified

573 * The returned string must be freed when done.
574 */
575char *expand_one_token(const char **str)
576{
577 return __expand_string(str, is_end_of_token, 0, NULL);
578}

Callers 1

expand_tokenFunction · 0.85

Calls 1

__expand_stringFunction · 0.85

Tested by

no test coverage detected