DEVFYI - Developer Resource - FYI

How can you get/set an environment variable from a program?:

Unix Interview Questions


(Continued from previous question...)

18. How can you get/set an environment variable from a program?:

Getting the value of an environment variable is done by using `getenv()'. Setting the value of an environment variable is done by using `putenv()'.

(Continued on next question...)

Other Interview Questions