Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Stdio
Stdio.FILE

Method Stdio.FILE()->ungets()


Method ungets

void ungets(string s)

Description

This function puts a line back in the input buffer. The line can then be read with eg read() , gets() or getchar() .

Note

The string is autoterminated by an extra line-feed.

See also

read() , gets() , getchar() , unread()