ferror(3) — Subroutines
OSF
NAME
ferror - Tests the error indicator on a stream
LIBRARY
Standard I/O package (libc.a)
SYNOPSIS
#include <stdio.h>
int ferror (
FILE ∗stream );
PARAMETERS
streamSpecifies the input or output stream.
DESCRIPTION
The ferror() macro tests whether input/output errors have occurred on the specified stream.
NOTES
AES Support Level:
Full use
RETURN VALUES
If an I/O error occurred when reading from or writing to the stream specified by the stream parameter, a nonzero value is returned. Otherwise, a value of 0 (zero) is returned.
RELATED INFORMATION
Functions: fopen(3), feof(3), fileno(3), clearerr(3)