MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / ftell

Method ftell

source/core/StarFile_unix.cpp:227–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227StreamOffset File::ftell(void* f) {
228 return lseek(fdFromHandle(f), 0, SEEK_CUR);
229}
230
231size_t File::fread(void* file, char* data, size_t len) {
232 if (len == 0)

Callers

nothing calls this directly

Calls 1

fdFromHandleFunction · 0.85

Tested by

no test coverage detected