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

Function macunlink

outdated/sys/mac/macfile.c:365–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365int
366macunlink(const char *name)
367{
368 Str255 pname;
369
370 C2P(name, pname);
371 return (HDelete(theDirs.dataRefNum, theDirs.dataDirID, pname) == noErr
372 ? 0
373 : -1);
374}
375
376/* ---------------------------------------------------------------------- */
377

Callers

nothing calls this directly

Calls 1

C2PFunction · 0.85

Tested by

no test coverage detected