From APUE
Some environment variables are defined by POSIX.1 in the Single UNIX Specification, whereas others are defined only if the XSI option is supported. Figure 7.7 lists the environment variables defined by the Single UNIX Specification and notes which implementations support the variables. Any environment variable defined by POSIX.1 is marked with •; otherwise, it is part of the XSI option. Many additional implementation-dependent environment variables are used in the four implementations described in this book. Note that ISO C doesn’t define any environment variables.
Are the environment variables defined by POSIX for a shell, or for any process which doesn't necessarily run shell?
Thanks.
My post is inspired from What are the environment variables by default?
