lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


hello, gary ng <garyng2000@yahoo.com>.

On Wed, 10 Oct 2007 21:16:48 -0700 (PDT)
gary ng <garyng2000@yahoo.com> wrote:

> would io.stdin:read('*a') a way to peek ? As my
> understanding is that '*a' is effectively
> non-blocking(just return as much as there).
"*a" is blocking until 'end of stream' reached, AFAIR.