Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the meaning of the letter ‘v’ in setvbuf()?

Tags:

c

Recently, I found two functions setbuf() and setvbuf() can be used to set stream buffer. What's the meaning of the letter v in the name setvbuf? Is it various, version or something else?

like image 388
Zhao Yu Avatar asked Nov 07 '22 10:11

Zhao Yu


1 Answers

I didn't found any explanation of 'v' anywhere but I guess it may be 'variable' since it allows to specify the size and mode of the buffer.

like image 111
diffuse Avatar answered Nov 15 '22 06:11

diffuse