You may want to look in the Information Center under

Programming;CL and APIs;APIs;APIs by category;UNIX-Type;Environment
Variable APIs.

There you will find that there are system level environment variables
that are set the first time a job-level environment variable API or
CL command is used; and the Qp0zGetAllSysEnv() API which will return
a list of all system level environment variables.

Bruce

>
>while going through a sample program i came across the function putenv();. i
>would like to know whether any environment variables will be set before my
>program is launched, if yes how can i find out a list of them.
>
>i have another doubt, since environment variables are like name=value why
>can't we simply use program variables (maybe global variables). it will be
>great if somebody can tell me an exact scenario to use an environment
>variable.
>




This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].