How can you get or set an environment variable from a
program?
Answers were Sorted based on User's Feedback
Answer / amit
to get environment variable execute getenv();
to set environment variable execute setenv();
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vishal
Also one can set global system variable "environ"
variable are stored in name=value pair.
| Is This Answer Correct ? | 1 Yes | 3 No |
About i-node numbers
What are the various schemes available?
How to write the program on full-duplex communication on bidirectional?
Explain how do you execute one program from within another?
What is a zombie?
How can a parent and child process communicate?
What is IPC? What are the various schemes available?
Max relax-able permission value with out giving write permission to others?
Which ipc is the fastest in unix?
How can you get or set an environment variable from a program?
Max relaxable permisssion value with out giving write permission to others?
Explain what are the system calls used for process management?