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

Function sfvalue_boolean

src/sfbase.c:423–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423char *sfvalue_boolean(boolean *a)
424{
425 static char buf[20];
426
427 Snprintf(buf, sizeof buf, "%s",
428 (*a == 0) ? "false" : "true");
429 return buf;
430}
431
432char *sfvalue_schar(schar *a)
433{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected