FSetEOF (LabVIEW Manager Function)
- Aktualisiert2025-07-30
- 1 Minute(n) Lesezeit
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 |
|---|---|
| noErr | No error. |
| mgArgErr | 1 or size < 0. |
| fIOErr | 6 |
| fNoPerm | 8 |
| fDiskFull | 9 |