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

Function can_read_file

src/cfgfiles.c:1442–1446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1440
1441#ifdef USER_SOUNDS
1442boolean
1443can_read_file(const char *filename)
1444{
1445 return (boolean) (access(filename, 4) == 0);
1446}
1447#endif /* USER_SOUNDS */
1448
1449struct _config_error_errmsg {

Callers 1

add_sound_mappingFunction · 0.85

Calls 1

accessFunction · 0.85

Tested by

no test coverage detected