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 |
What is unix ipc?
What is an advantage of executing a process in background?
What are the system calls used for process management:
how to create tree of processes. one parent and 3 childs.
What is ipc in unix?
What is the condition required for dead lock in unix system?
Explain a zombie?
Explain what are the system calls used for process management?
How can you get or set an environment variable from a program?
Explain the initial process sequence while the system boots up?
How to know whether the message queue is empty or not.
About i-node numbers