MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / SetEnd

Method SetEnd

sourcecommon/File.cpp:238–246  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

236}
237//---------------------------------------------------------------------------
238bool __fastcall TFile::SetEnd(void)
239{
240 if( ! handle ) return false;
241 LastError = 0;
242 Error = ! SetEndOfFile( handle );
243 if( Error ) LastError = GetLastError();
244 if( Exceptions && Error ) throw 0;
245 return ! Error;
246}
247//---------------------------------------------------------------------------
248bool __fastcall TFile::WriteString(char * string)
249{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected