next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
getc -- get a byte
Description
getc f
obtains one byte from the input file f and provides it as a string of length 1. On end of file an empty string of is returned.
Bug: the name is cryptic and should be changed.
See also
File
-- the class of all files
Ways to use
getc
:
getc(File)