Question 11.13

But what about main's third argument, envp?


It's a non-standard (though common) extension. If you really need to access the environment in ways beyind what the standard getenv function provides, though, the global variable environ is probably a better avenue (though it's equally non-standard).

References: ANSI Sec. F.5.1
ISO Sec. G.5.1
H&S Sec. 20.1 pp. 416-7


Read sequentially: prev next up top


This page by Steve Summit // Copyright 1995 // mail feedback