[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: setvbuf documentation
From:       Roberto Ierusalimschy <roberto () inf ! puc-rio ! br>
Date:       2019-08-12 13:32:58
Message-ID: 20190812133258.GF14988 () arraial ! inf ! puc-rio ! br
[Download RAW message or body]

> In the manual, it says setvbuf "sets the buffering mode mode for an output
> file".
> I believe it's a bit misleading.
> The C standard specifies that setvbuf causes changes in input/output
> buffering, not just output.
> Thus input files, such as stdin, will also be affected.

Thanks for the correction.


> Am I mistaken, or should I send a manual patch?

I hope we know how to fix that. Thanks anyway.

-- Roberto

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic