Date: Fri, 13 Jun 1997 12:27:37 -0700 From: Bill Currie Subject: Re: size of stdio buffer To: DJ Delorie Cc: djgpp-workers AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <33A19F29.31E@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <199706122259 DOT SAA21535 AT delorie DOT com> Precedence: bulk DJ Delorie wrote: > > Would it make sense to have stdio's buffer fill dynamic - start at 512 > bytes, and double with each read() (up to BUFSIZ) but reset on each > lseek() ? Sounds reasonable. I take it the buffer is still static (just the amount used changes) as having a dynamic buffer would be bad for speed and memory usage. Bill -- Leave others their otherness.