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

Function FileSeek

NULLC/includes/file.cpp:161–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 nullcThrowError("Failed to write to a file.");
160 }
161 void FileSeek(int dir, int shift, File* file)
162 {
163 if(!file->handle)
164 {
165 nullcThrowError("Cannot seek in a closed file.");
166 return;
167 }
168 fseek(file->handle, shift, dir);
169 }
170
171 long long FileTell(File* file)
172 {

Callers

nothing calls this directly

Calls 1

nullcThrowErrorFunction · 0.50

Tested by

no test coverage detected