Unix IPC Question:

Download Job Interview Questions and Answers PDF

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();

Download Unix Inter-Process Communication (IPC) Interview Questions And Answers PDF

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