Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / amit

to get environment variable execute getenv();
to set environment variable execute setenv();

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me set-user-id is related to (in unix)?

917


What is ln(linking)?

1039


Which ipc is faster?

981


Which ipc is the fastest in unix?

1006


Explain about daemon?

1035


Explain linking across directories?

959


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

1018


How to get or set an environment variable from a program?

956


Explain how do you execute one program from within another?

974


Please explain fork() system call?

996


Please describe the initial process sequence while the system boots up?

1032


What is ipc port?

1009


Max relax-able permission value with out giving write permission to others?

1015


Explain the system calls used for process management?

978


Explain what are the system calls used for process management?

958