[cs631apue] Question regarding BUFSIZ
mseaton
mseaton at stevens.edu
Fri Oct 21 00:10:48 EDT 2016
Thank you both for the response.
On 10/20/2016 9:30 PM, Jan Schaumann wrote:
> mseaton <mseaton at stevens.edu> wrote:
>
>> What exactly is the meaning of BUFSIZ?
>
> BUFSIZ is the size of the buffer used by a number of functions, notably
> setbuf(3), for buffered I/O. The value is system dependent as it
> ensures efficient stream I/O.
>
> Think of it as analogous to st_blksize for regular file I/O.
>
> -Jan
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
More information about the cs631apue
mailing list