Siebel eScript Language Reference > Siebel eScript Commands > File I/O Methods in eScript >
Clib.ferror() Method
This method tests and returns the error indicator for a file. Syntax
Clib.ferror(filePointer)
|
|
filePointer |
A file pointer as returned by Clib.fopen() |
Returns
0 if no error; otherwise, the error number. Usage
This method checks whether an error has occurred for a buffer into which a file has been read. If an error occurs, it returns the error number. See Also
Clib.errno Property
|