From ae13f4759fd47c0db36c8a3bd9759e01d709ee02 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov
Date: Sat, 8 Nov 2014 15:11:04 +0300
Subject: Introduce os:getenv/2
Signed-off-by: Peter Lemenkov
---
lib/kernel/doc/src/os.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
(limited to 'lib/kernel/doc')
diff --git a/lib/kernel/doc/src/os.xml b/lib/kernel/doc/src/os.xml
index 2b57e75023..8b85f24455 100644
--- a/lib/kernel/doc/src/os.xml
+++ b/lib/kernel/doc/src/os.xml
@@ -99,6 +99,19 @@ DirOut = os:cmd("dir"), % on Win32 platform
Value) may contain characters with codepoints > 255.
+
+
+ Get the value of an environment variable
+
+ Returns the Value of the environment variable
+ VarName, or DefaultValue if the environment variable
+ is undefined.
+ If Unicode file name encoding is in effect (see the erl manual
+ page), the strings (both VarName and
+ Value) may contain characters with codepoints > 255.
+
+
Return the process identifier of the emulator process
--
cgit v1.2.3