FSetEOF (LabVIEW Manager Function)

MgErr FSetEOF(fd, size);

Purpose

Sets the size of the specified file. If an error occurs, the file size does not change.

Parameters

Name Type Description
fd File File descriptor associated with the file.
size int32 * New file size in bytes.

Return Value

MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1 or size < 0.
fIOErr6
fNoPerm8
fDiskFull9