MgErr FRefNumToFD(refNum, fdp);
Gets the file descriptor associated with the specified file refnum.
If no error occurs, the resulting file descriptor is stored in the address referred to by fdp. If an error occurs, NULL is stored in the address referred to by fdp, and the error is returned.
Name | Type | Description |
---|---|---|
refNum | LVRefNum | The file refnum whose associated file descriptor you want to get. |
fdp | File * | Address at which FRefNumToFD stores the file descriptor associated with the specified file refnum. This parameter is a pointer. |
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 |