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

Function unlink_file

outdated/sys/mac/mrecover.c:1330–1338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328}
1329
1330static void
1331unlink_file(unsigned char *filename)
1332{
1333 if (HDelete(vRefNum, dirID, filename)) {
1334 endRecover();
1335 note(noErr, alidNote, "\pSorry: File Delete Error");
1336 return;
1337 }
1338}

Callers 1

restore_savefileFunction · 0.85

Calls 2

endRecoverFunction · 0.85
noteFunction · 0.85

Tested by

no test coverage detected