| 159 | nullcThrowError("Failed to write to a file."); |
| 160 | } |
| 161 | void FileSeek(int dir, int shift, File* file) |
| 162 | { |
| 163 | if(!file->handle) |
| 164 | { |
| 165 | nullcThrowError("Cannot seek in a closed file."); |
| 166 | return; |
| 167 | } |
| 168 | fseek(file->handle, shift, dir); |
| 169 | } |
| 170 | |
| 171 | long long FileTell(File* file) |
| 172 | { |
nothing calls this directly
no test coverage detected