D - getenv
- Matthew Wilson (7/7) Mar 12 2003 Firstly, apologies for what may be a sequence of dumb questions, as I've...
- Walter (4/7) Mar 13 2003 extern (C) char* getenv(char*);
Firstly, apologies for what may be a sequence of dumb questions, as I've not been working with D since the middle of last year. My question is, how do I access the C-function getenv? I've tried "import c.stdlib" but that does nothing. Is there an already established preferred alternative. Thanks Matthew
Mar 12 2003
"Matthew Wilson" <dmd synesis.com.au> wrote in message news:b4p4ef$31bl$1 digitaldaemon.com...My question is, how do I access the C-function getenv? I've tried "import c.stdlib" but that does nothing. Is there an already established preferred alternative.extern (C) char* getenv(char*); should do it.
Mar 13 2003