MCPcopy Create free account
hub / github.com/apache/nuttx / find_variable

Function find_variable

tools/cfgparser.c:271–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271struct variable_s *find_variable(const char *varname,
272 struct variable_s *list)
273{
274 while (list)
275 {
276 if (strcmp(varname, list->var) == 0)
277 {
278 return list;
279 }
280
281 list = list->flink;
282 }
283
284 return NULL;
285}

Callers 3

get_verstringFunction · 0.70
check_appdirFunction · 0.70
check_configurationFunction · 0.70

Calls 1

strcmpFunction · 0.50

Tested by

no test coverage detected