MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / cftell

Function cftell

cfile/cfile.cpp:626–626  ·  view source on GitHub ↗

Just like stdio ftell(), except works on a CFILE

Source from the content-addressed store, hash-verified

624
625// Just like stdio ftell(), except works on a CFILE
626long cftell(CFILE *cfp) { return cfp->position; }
627
628// Returns true if at EOF
629int cfeof(CFILE *cfp) { return (cfp->position >= cfp->size); }

Callers 15

mng_LoadNetPagesFunction · 0.85
StartManagePageFunction · 0.85
EndManagePageFunction · 0.85
mng_CompileAddonPagesFunction · 0.85
SaveHeaderMethod · 0.85
SoundLoadWaveFileFunction · 0.85
ReadNewModelFileFunction · 0.85
SaveRoomFunction · 0.85
bm_tga_alloc_fileFunction · 0.85
bm_page_in_fileFunction · 0.85
bm_iff_parse_deltaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected