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

Function expand_one_token

util/kconfig/preprocess.c:574–577  ·  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

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

Callers

nothing calls this directly

Calls 1

__expand_stringFunction · 0.85

Tested by

no test coverage detected