| 169 | } |
| 170 | |
| 171 | long long FileTell(File* file) |
| 172 | { |
| 173 | if(!file->handle) |
| 174 | { |
| 175 | nullcThrowError("Cannot tell cursor position in a closed file."); |
| 176 | return 0; |
| 177 | } |
| 178 | return ftell(file->handle); |
| 179 | } |
| 180 | long long FileSize(File* file) |
| 181 | { |
| 182 | if(!file->handle) |
nothing calls this directly
no test coverage detected