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

Function lib_dlb_fgetc

src/dlb.c:380–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380staticfn int
381lib_dlb_fgetc(dlb *dp)
382{
383 char c;
384
385 if (lib_dlb_fread(&c, 1, 1, dp) != 1)
386 return EOF;
387 return (int) c;
388}
389
390staticfn long
391lib_dlb_ftell(dlb *dp)

Callers

nothing calls this directly

Calls 1

lib_dlb_freadFunction · 0.85

Tested by

no test coverage detected