delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Message-ID: | <3C6A8EFD.76FD712E@yahoo.com> |
From: | CBFalconer <cbfalconer AT yahoo DOT com> |
Organization: | Ched Research |
X-Mailer: | Mozilla 4.75 [en] (Win98; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Malloc/free DJGPP code |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1020213162355 DOT 18549C-100000 AT is> |
Lines: | 20 |
Date: | Wed, 13 Feb 2002 16:21:08 GMT |
NNTP-Posting-Host: | 12.90.173.161 |
X-Complaints-To: | abuse AT worldnet DOT att DOT net |
X-Trace: | bgtnsc04-news.ops.worldnet.att.net 1013617268 12.90.173.161 (Wed, 13 Feb 2002 16:21:08 GMT) |
NNTP-Posting-Date: | Wed, 13 Feb 2002 16:21:08 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Eli Zaretskii wrote: > > On Wed, 13 Feb 2002, DJ Delorie wrote: > > > If you > > really want to do this, call setbuf(stdout,0) at the beginning of your > > program (stderr too) to avoid the need for a buffer. > > And if unbuffered I/O is too slow, call setvbuf with a suitable buffer > instead. That should avoid the need to call malloc the first time printf > is called. Got it guys. Next try coming up soon. Thanks. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net) Available for consulting/temporary embedded and systems. (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce AT ftc DOT gov (for spambots to harvest)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |