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

Function getfilepath

tools/mkversion.c:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 ****************************************************************************/
42
43static inline char *getfilepath(const char *name)
44{
45 snprintf(line, PATH_MAX, "%s/" DEFCONFIG, name);
46 line[PATH_MAX] = '\0';
47 return strdup(line);
48}
49
50static void show_usage(const char *progname)
51{

Callers 1

mainFunction · 0.70

Calls 2

strdupFunction · 0.85
snprintfFunction · 0.50

Tested by

no test coverage detected