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

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


SEE ALSO

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


PTC MKS Toolkit 10.5 Documentation Build 40.