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 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: <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 Precedence: bulk > 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.