ferror
int ferror (FILE *stream);
Purpose
Tests the error indicator for the specified stream.
Parameters
| Input | ||
| Name | Type | Description |
| stream | FILE * | Contains a pointer to the stream whose error indicator is tested. |
Return Value
| Name | Type | Description |
| status | int | Contains the resulting status of the function. The function returns a nonzero value only if the error indicator is set for the specified stream. |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later