Flowdock
method

ungetc

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Buffering
ungetc(c) public

Pushes character c back onto the stream such that a subsequent buffered character read will return it.

Unlike IO#getc multiple bytes may be pushed back onto the stream.

Has no effect on unbuffered reads (such as #sysread).

Show source
Register or log in to add new notes.