delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/03/04/09:43:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Tue, 4 Mar 2008 09:41:42 -0500
Message-Id: <200803041441.m24EfgWY007508@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <68WdndzvYfJ5ZlHanZ2dnUVZ_jqdnZ2d@comcast.com> (message from Jim
Michaels on Mon, 03 Mar 2008 23:36:04 -0800)
Subject: Re: DOS memory allocation
References: <68WdndzvYfJ5ZlHanZ2dnUVZ_jqdnZ2d AT comcast DOT com>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

__tb is already allocated, it's a static buffer.  Just use it.  The
only time you need to allocate your own buffer is if __tb is not big
enough for what you need (and even then, you can use stubedit to
increase it) or if you need multiple buffers.

You should not ever *change* the transfer buffer, it's set up for you
by djgpp.

- Raw text -


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