bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: controlling stdio buffering


From: Pádraig Brady
Subject: Re: controlling stdio buffering
Date: Wed, 22 Mar 2006 14:26:27 +0000
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Andreas Schwab wrote:

>Pádraig Brady <address@hidden> writes:
>
>  
>
>>But glibc does not do this and hence should report non 0 to say it's not
>>honoured.
>>    
>>
>
>No.  The standard does not allow that.
>  
>
OK one can read it many ways :)
I guess setvbuf(....,size); is meant to be a hint so.

>  
>
>>I'm also confused about the default buffer sizes.
>>On my libc6-2.3.5-1ubuntu1 stdin buffer defaults to 4096, stdout to 1024
>>and BUFSIZ is 8192 ?
>>    
>>
>
>Depends on the page size and the block size.
>  
>
Thanks for all the info.
I notice that address@hidden is mostly SPAM.
Is there a better place for glibc discussions?

cheers,
Pádraig.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]