But what about main's third argument, envp?

Q

But what about main's third argument, envp?

✍: Guest

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).

2015-12-20, 750👍, 0💬