delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/06/12/20:28:57

Date: Thu, 12 Jun 1997 20:28:54 -0400 (EDT)
Message-Id: <199706130028.UAA02671@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: billc AT blackmagic DOT tait DOT co DOT nz
CC: djgpp-workers AT delorie DOT com
In-reply-to: <33A19F29.31E@blackmagic.tait.co.nz> (message from Bill Currie on
Fri, 13 Jun 1997 12:27:37 -0700)
Subject: Re: size of stdio buffer

> 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.

Correct.  We would be limiting only the read() call's size, not the
size of the allocated buffer.  We would still allocate BUFSIZ bytes
for the buffer the first time it was needed.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019