MCPcopy Create free account
hub / github.com/cppla/ServerStatus / io_length

Function io_length

server/src/system.c:338–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338long int io_length(IOHANDLE io)
339{
340 long int length;
341 io_seek(io, 0, IOSEEK_END);
342 length = io_tell(io);
343 io_seek(io, 0, IOSEEK_START);
344 return length;
345}
346
347unsigned io_write(IOHANDLE io, const void *buffer, unsigned size)
348{

Callers 1

ReadConfigMethod · 0.85

Calls 2

io_seekFunction · 0.85
io_tellFunction · 0.85

Tested by

no test coverage detected