|
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. Syntax
Clib.fgetc(filePointer) Clib.getc(filePointer)
|
|
filePointer |
A file pointer as returned by Clib.fopen() |
Returns
The next character in the file indicated by filePointer as a byte converted to an integer. Usage
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. See Also
Clib.fgets() Method Clib.qsort() Method
|