Siebel eScript Language Reference > Siebel eScript Commands > File I/O Methods in eScript >
Clib.fgetc() Method and Clib.getc() Method
These methods return the next character in a file stream.
A file pointer as returned by Clib.fopen()
The next character in the file indicated by filePointer as a byte converted to an integer.
These methods return the next character in a file stream—a buffer into which a file has been read. If there is a read error or the file cursor is at the end of the file, EOF is returned. If there is a read error, Clib.ferror() indicates the error condition.