lua-users home
lua-l archive

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


> Question: Is there an easy way to change stdin to binary mode under Windows?

The code below (or a simple variation) works in some compilers:

           _setmode(_fileno(stdin),_O_BINARY);