| 336 | } |
| 337 | |
| 338 | long 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 | |
| 347 | unsigned io_write(IOHANDLE io, const void *buffer, unsigned size) |
| 348 | { |
no test coverage detected