MCPcopy Create free account
hub / github.com/WheretIB/nullc / FileTell

Function FileTell

NULLC/includes/file.cpp:171–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 long long FileTell(File* file)
172 {
173 if(!file->handle)
174 {
175 nullcThrowError("Cannot tell cursor position in a closed file.");
176 return 0;
177 }
178 return ftell(file->handle);
179 }
180 long long FileSize(File* file)
181 {
182 if(!file->handle)

Callers

nothing calls this directly

Calls 1

nullcThrowErrorFunction · 0.50

Tested by

no test coverage detected