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 |
Please describe the initial process sequence while the system boots up?
Which ipc is the fastest in unix?
What are the system calls used for process management:
What are the various schemes available?
Explain the advantage of executing a process in background?
Explain what is the process id for kernel process?
What is unix ipc?
Predict the output of the following program code main() { fork(); printf("Hello World!"); }
how to create tree of processes. one parent and 3 childs.
What is i-node numbers?
Explain a zombie?
set-user-id is related to (in unix)