Re: How do I ex****t a environmental variable to a C program?
by Jack Klein <jackklein@[EMAIL PROTECTED]
>
May 10, 2008 at 10:39 PM
On Fri, 9 May 2008 10:26:48 -0700 (PDT), iavian <vijay@[EMAIL PROTECTED]
>
wrote in comp.lang.c:
> Hi all ,
>
> I want to set a env variable in a C program? . Not through shell env
> variables. Any help?
The standard C library does not provide any functions to set
environment variables, just one to search for and read them.
All of today's most popular operating systems provided their own
system-specific extensions for doing this. You need to ask in a group
that sup****ts your particular compiler/OS combination for details.
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.para****ft.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html