delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/14/11:57:57

Date: Mon, 14 May 2001 11:00:14 -0400
Message-Id: <200105141500.LAA01962@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3AFF9BB7.55A60FDF@ma.tum.de> (message from Waldemar Schultz on
Mon, 14 May 2001 10:47:51 +0200)
Subject: Re: getenv() question
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010514095853 DOT 24166I AT is> <3AFF9BB7 DOT 55A60FDF AT ma DOT tum DOT de>
Reply-To: djgpp AT delorie 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

> Thanks, and is there also a possibility of obtaining the 
> available free space in environ (allocated size of environ)?

If you mean the DOS environment (programs get their own copy, and
cannot normally change the DOS environment). the answer is yes, but
the technique is tricky and has nothing to do with DJGPP - it's tricky
to do with *any* dos program.  Note that doing this is a FAQ in other
dos programming forums; you can find the generic answer there and port
the technique to djgpp afterwards.

- Raw text -


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