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

Function record_exists

sys/amiga/amidos.c:340–350  ·  view source on GitHub ↗

Return 1 if the record file was found */

Source from the content-addressed store, hash-verified

338
339/* Return 1 if the record file was found */
340static boolean
341record_exists(void)
342{
343 FILE *file;
344
345 if (file = fopenp(RECORD, "r")) {
346 fclose(file);
347 return TRUE;
348 }
349 return FALSE;
350}
351
352#ifdef MFLOPPY
353/*

Callers

nothing calls this directly

Calls 2

fcloseFunction · 0.85
fopenpFunction · 0.70

Tested by

no test coverage detected