[try Beta version]
Not logged in

 
setbuf

Jan 11, 2015 at 7:27am
I am currently reading about buffers.Can anyone give some example when we really needs functions like setbuf or setvbuf etc.
PS:I happen to know when will these functions should be used on earth!

Jan 11, 2015 at 11:35am
You can use it to control buffering strategy (for example turn off buffering when writing to the sockets) or change buffer size to maximize IO speed.
Topic archived. No new replies allowed.