PRINTENV(1) NetBSD General Commands Manual PRINTENV(1)
printenv -- print out the environment
printenv prints out the names and values of the variables in the environ- ment, with one name/value pair per line. If name is specified, only its value is printed. If a name is specified and it is not defined in the environment, printenv returns exit status 1, else it returns status 0.
csh(1), sh(1), environ(7)
The printenv command appeared in 3.0BSD. NetBSD 8.1 June 6, 1993 NetBSD 8.1
You can also request any man page by name and (optionally) by section: