Previous: , Up: operatingsystem   [Contents][Index]

78.4 Environment operations

Function: getenv (env)

Get the value of the environment variable env

Example:

(%i1) load("operatingsystem")$
(%i2) getenv("PATH");
(%o2) /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Previous: , Up: operatingsystem   [Contents][Index]