MgErr FSetEOF(fd, size);
Sets the size of the specified file. If an error occurs, the file size does not change.
| Name | Type | Description |
|---|---|---|
| fd | File | File descriptor associated with the file. |
| size | int32 * | New file size in bytes. |
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 |
|---|---|
| noErr | No error. |
| mgArgErr | 1 or size < 0. |
| fIOErr | 6 |
| fNoPerm | 8 |
| fDiskFull | 9 |