getenv(3F)
NAME
getenv − return Fortran environment variable
SYNOPSIS
getenv(c1,c2)
character∗N c1,c2
DESCRIPTION
getenv returns the character-string value of the environment variable represented by its first argument into the character variable of its second argument. If no such environment variable exists, all blanks will be returned.
For example,
getenv("TMPDIR", c)
SEE ALSO
NOTES
When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of the routine name.
CX/UX Hf77 Fortran Reference Manual