Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

FRefNumToFD (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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 CIN functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit