LabWindows/CVI

Table of Contents

GetFmtIOError

FmtIOErrType GetFmtIOError (void);

Purpose

Returns specific I/O information for the last call to a Formatting and I/O function that performs file I/O. If the last function was successful, GetFmtIOError returns zero (FmtIONoErr). If the last function that performs I/O encountered an I/O error, GetFmtIOError returns a nonzero value.

Parameters

None.

Return Value

Name Type Description
iOError FmtIOErrType Contains the error number for the error that occurred in the last call to a Formatting and I/O Library function.

All library functions that set the error status on failure also set the error status to FmtIONoErr on success. Thus, if the last call to a library function succeeded, this function returns FmtIONoErr.

Additional Information

Library: Formatting and I/O Library

Include file: formatio.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Log in to get a better experience