On 27.09.2010 14:22, Rob Kendrick wrote:
On Mon, Sep 27, 2010 at 08:00:32PM +1000, Quae Quack wrote: why not use ungetc? Because Lua is written in C, and C's ungetc is not guarenteed to work for more tha one byte.
On Mon, Sep 27, 2010 at 08:00:32PM +1000, Quae Quack wrote:
why not use ungetc?
Because Lua is written in C, and C's ungetc is not guarenteed to work for more tha one byte.
man rewind man fseek