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

Function folder_file_exists

sys/windows/windsys.c:1006–1017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004}
1005
1006boolean
1007folder_file_exists(const char *folder, const char *file_name)
1008{
1009 char path[MAX_PATH];
1010
1011 if (folder[0] == '\0')
1012 return FALSE;
1013
1014 strcpy(path, folder);
1015 strcat(path, file_name);
1016 return file_exists(path);
1017}
1018
1019boolean
1020file_exists(const char *path)

Callers 1

test_portable_configFunction · 0.85

Calls 1

file_existsFunction · 0.70

Tested by 1

test_portable_configFunction · 0.68