Pike v8.0 release 1738

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()