MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / luftell

Function luftell

src/Setup/unzip.cpp:2663–2667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2661}
2662
2663long int luftell(LUFILE *stream)
2664{ if (stream->is_handle && stream->canseek) return SetFilePointer(stream->h,0,NULL,FILE_CURRENT)-stream->initial_offset;
2665 else if (stream->is_handle) return 0;
2666 else return stream->pos;
2667}
2668
2669int lufseek(LUFILE *stream, long offset, int whence)
2670{ if (stream->is_handle && stream->canseek)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected