Windows: file:setvbuf("line") doesn't work

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Windows: file:setvbuf("line") doesn't work

Thijs Schreijer
As per the subject, on Windows this doesn’t work since it doesn’t support “line”, it will just go to full buffering.


> For some systems, this provides line buffering. However, for Win32, the behavior
> is the same as _IOFBF - Full Buffering.

Not really a bug or something, just wanted to call it out here in case it is worthy of a mention in the manual wrt platform differences.