MCPcopy Index your code
hub / github.com/NetHack/NetHack / dlb_fread

Function dlb_fread

src/dlb.c:498–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498int
499dlb_fread(char *buf, int size, int quan, dlb *dp)
500{
501 if (!dlb_initialized || size <= 0 || quan <= 0)
502 return 0;
503 if (dp->fp)
504 return (int) fread(buf, size, quan, dp->fp);
505 return do_dlb_fread(buf, size, quan, dp);
506}
507
508int
509dlb_fseek(dlb *dp, long pos, int whence)

Callers 4

nhl_loadluaFunction · 0.85
FreadFunction · 0.85
lib_dlb_fgetsFunction · 0.85
mac_display_fileFunction · 0.85

Calls 1

freadFunction · 0.85

Tested by

no test coverage detected