MCPcopy Create free account
hub / github.com/beefytech/Beef / BfpFile_Truncate

Function BfpFile_Truncate

BeefySysLib/platform/win/Platform.cpp:3336–3344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3334}
3335
3336BFP_EXPORT void BFP_CALLTYPE BfpFile_Truncate(BfpFile* file, BfpFileResult* outResult)
3337{
3338 if (!SetEndOfFile(file->mHandle))
3339 {
3340 OUTRESULT(BfpFileResult_UnknownError);
3341 return;
3342 }
3343 OUTRESULT(BfpFileResult_Ok);
3344}
3345
3346BFP_EXPORT BfpTimeStamp BFP_CALLTYPE BfpFile_GetTime_LastWrite(const char* path)
3347{

Callers 2

SetSizeFastMethod · 0.50
ExecuteMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected