ferror()

test error indicator for stream 

Function


SYNOPSIS

#include <stdio.h>

int ferror(FILE *stream);


DESCRIPTION

The function ferror() tests the error indicator for the stream pointed to by stream.


PARAMETERS

stream 

Points to the FILE structure to test for an error condition.


RETURN VALUES

If the error is set for stream, the ferror() function returns non-zero. Otherwise, it returns zero.


CONFORMANCE

ANSI/ISO 9899-1990.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
clearerr(), feof(), fileno(), fopen(), open(), perror()


MKS Toolkit 9.2 Documentation Build 16.