> Are there any documented limits for environment variables in DOS?
no.

> My implementation uses a static buffer. So the content changes with
> every call to getenv. This is explicitly allowed by the standard.

> I don't want to make the buffer too large though,

did you ever hear about dynamic malloc()ated memory?

Tom


------------------------------------------------------------------------------
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