lua-users home
lua-l archive

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

Francesco Abbate <> wrote:
> Please note that the use of "fileno" can be avoided if you assume that
> the file descriptor of stdin is 0. This is always true on linux.

It's true on all POSIX systems. I don't know if there are non-POSIX
systems that support isatty().

f.anthony.n.finch  <>
Southeast Biscay: Southeasterly, backing northeasterly, 3 or 4. Moderate or
rough, occasionally very rough later. Showers. Good, occasionally poor.