On 11/18/2017 9:34 AM, Andreas K. Foerster wrote:
> By the way, can anybody tell me, how to access environment variables,
> when the compiler doesn't support it? (no getenv() and environ=NULL)
>
Well, yes, you have to pretty much write those functions yourself by
accessing the MCB (Memory Control Block) chain of the running program.
There should be plenty of examples for that still on the Internet, I
will see that I dig something out as time permits...

Ralf


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to