Source Compatibility Guide

printenv

Reports environment variables as currently set. It is similar to the env command. This command is not available in the default SunOS 5.x release.