summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libos.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index bc4d947..1767e37 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -166,6 +166,13 @@ Return the current process' user id.
Availability: \UNIX{}.
\end{funcdesc}
+\begin{funcdesc}{getenv}{varname\optional{, value}}
+Return the value of the environment variable \var{varname} if it
+exists, or \var{value} if it doesn't. \var{value} defaults to
+\code{None}.
+Availability: most flavors of \UNIX{}, Windows.
+\end{funcdesc}
+
\begin{funcdesc}{putenv}{varname, value}
\index{environment variables!setting}
Set the environment variable named \var{varname} to the string