Go to main content
Oracle Developer Studio 12.6 Man Pages

Exit Print View

Updated: June 2017
 
 

getenv(3F)

Name

getenv - get value of environment variables

Synopsis

subroutine getenv (ename, evalue)
character*(*) ename, evalue

Description

The getenv subroutine searches the environment list (see environ(5)) for a string of the form ename=value and returns value in evalue if such a string is present; otherwise, it fills evalue with blanks.

If evalue is too short to hold the complete string value, the string is truncated to fit in evalue.

Files

libfsu.a

See Also

execve(2), environ(5)