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 |
how to create tree of processes. one parent and 3 childs.
Explain what are the system calls used for process management?
What are various IDs associated with a process?
What are two different models of ipc differentiate both?
What is ln(linking)?
What Happens when you execute a command?
Explain how do you execute one program from within another?
Explain about daemon?
What is fork()?
What is a Daemon?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
What are the process states in Unix?