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

Function rsrc_dlb_fopen

outdated/sys/mac/macfile.c:389–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389boolean
390rsrc_dlb_fopen(dlb *dp, const char *name, const char *mode)
391{
392#if defined(__SC__) || defined(__MRC__)
393#pragma unused(mode)
394#endif
395 Str255 pname;
396
397 C2P(name, pname);
398 dp->fd = OpenHandleFile(pname, 'File'); /* automatically read-only */
399 return dp->fd >= 0;
400}
401
402int
403rsrc_dlb_fclose(dlb *dp)

Callers

nothing calls this directly

Calls 2

C2PFunction · 0.85
OpenHandleFileFunction · 0.85

Tested by

no test coverage detected