contents   index   previous   next



Clib.ferror()

syntax:

Clib.ferror(filePointer)

where:

filePointer - pointer to file for which error information is to be retrieved.

 

return:

number - 0 on no file error, else the current error value associated with a file operation.

 

description:

The parameter filePointer is a file pointer as returned by Clib.fopen(). This method tests and returns the error indicator for stream file. Returns 0 if no error, otherwise returns the error value.

 

see:

Clib.clearerr()

 

 


Clib.perror()