MCPcopy Create free account
hub / github.com/NetHack/NetHack / name_file

Function name_file

util/makedefs.c:444–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442static char namebuf[1000];
443
444DISABLE_WARNING_FORMAT_NONLITERAL
445
446static char *
447name_file(const char *template, const char *tag)
448{
449 Sprintf(namebuf, template, tag);
450 return namebuf;
451}
452
453#ifdef HAS_NO_MKSTEMP
454static void delete_file(const char *template, const char *);

Callers 2

delete_fileFunction · 0.85
getfpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected