MCPcopy Create free account
hub / github.com/F-Stack/f-stack / LONG_TELL

Function LONG_TELL

freebsd/contrib/zstd/programs/fileio.c:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 return -1;
268 }
269 static __int64 LONG_TELL(FILE* file) {
270 LARGE_INTEGER off, newOff;
271 off.QuadPart = 0;
272 newOff.QuadPart = 0;
273 SetFilePointerEx((HANDLE) _get_osfhandle(_fileno(file)), off, &newOff, FILE_CURRENT);
274 return newOff.QuadPart;
275 }
276#else
277# define LONG_SEEK fseek
278# define LONG_TELL ftell

Callers 1

FIO_analyzeFramesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected