Q: But what about main's third argument, envp?
A: It's a non-standard (though common) extension. If you really need to access the environment in ways beyond what the standard getenv function provides, though, the global variable environ is probably a better avenue (though it's equally non-standard).
ISO Sec. G.5.1
H&S Sec. 20.1 pp. 416-7