contents   index   previous   next



Clib.getc()

syntax:

Clib.getc(filePointer)

where:

filePointer - pointer to file to use.

 

return:

number - on success, the next character, as an unsigned byte converted to an integer, in a file. Else EOF if a read error or at the end of file.

 

description:

This method is identical to Clib.fgetc(). It returns the next character in a file as an unsigned byte converted to an integer. Returns EOF if there is a read error or if at the end of the file. If there is a read error then Clib.ferror() will indicate the error condition.

 

see:

Clib.gets()

 

 


Clib.putc()