FRefNumToFD (LabVIEW Manager Function)

MgErr FRefNumToFD(refNum, fdp);

Purpose

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.

Parameters

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.

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