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
Which ipc is faster?
Explain fork() system call?
What are the system calls used for process management?
What are the system calls used for process management:
In Unix inter process communication take place using?
what is the process id for kernel process?
8 Answers IBM, ITI, Military Engineer Services, Remo, TATA,
How to know whether the message queue is empty or not.
Explain a zombie?
Please explain fork() system call?
Which ipc is the fastest in unix?
What is the condition required for dead lock in unix system?