How to get or set an environment variable from a program?
Answer / Rajkumar
To get the value of an environment variable in Unix, you can use the 'getenv()' function. To set an environment variable, you can use the 'setenv()' function. Both functions are part of the standard C library.
| Is This Answer Correct ? | 0 Yes | 0 No |
set-user-id is related to (in unix)
Explain what are the system calls used for process management?
How to write the program on full-duplex communication on biderctional(e.g using two pipes)
What is IPC? What are the various schemes available?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
Explain the system calls used for process management?
Describe the initial process sequence while the system boots up?
How can a parent and child process communicate?
Explain the advantage of executing a process in background?
What is the condition required for dead lock in unix system?
how to create tree of processes. one parent and 3 childs.
What are the system calls used for process management: