Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

5.3.2.  The Global Environment, environ

The global variable, environ must point to a null terminated list of environment variable name-value pairs.

For a minimal implementation it is sufficient to use an empty list as follows.

char *__env[1] = { 0 };
char **environ = __env;
Embecosm divider strip