FileSystem: Add FTruncate64()

This commit is contained in:
Stenzek
2024-07-08 20:54:31 +10:00
parent 36abbd97e8
commit ec851c9d6d
2 changed files with 41 additions and 0 deletions

View File

@ -109,6 +109,7 @@ std::FILE* OpenCFile(const char* filename, const char* mode, Error* error = null
int FSeek64(std::FILE* fp, s64 offset, int whence);
s64 FTell64(std::FILE* fp);
s64 FSize64(std::FILE* fp);
bool FTruncate64(std::FILE* fp, s64 size, Error* error = nullptr);
int OpenFDFile(const char* filename, int flags, int mode, Error* error = nullptr);