Unix IPC Question:

How to get or set an environment variable from a program?

Unix Inter-Process Communication (IPC) Interview Question
Unix Inter-Process Communication (IPC) Interview Question

Answer:

to get environment variable execute getenv();
to set environment variable execute setenv();


Previous QuestionNext Question
Explain a zombie?What are the system calls used for process management?