You are here: C++ Support Classes > dtSearch Namespace > Classes > DFile Class > DFile::setLength Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DFile::setLength Method
Syntax
C++
int setLength(DFilePosition len);

Set the length of the file (this can be used to truncate a file)

Copyright (c) 1995-2025 dtSearch Corp. All rights reserved.