Environment

Although a pointer to the environment vector should be available as a third argument to the main entry point, conforming applications should use getenv to access the environment. (See ISO/IEC 9945:2003 Portable Operating System(POSIX)and The Single UNIX® Specification(SUS) V3, Section exec).