From 37654ca0993d24753d6596f7a5e4e784030092c4 Mon Sep 17 00:00:00 2001 From: Serge Aleynikov Date: Tue, 15 Jan 2013 10:24:14 -0500 Subject: Moved documentation in a separate entry --- lib/kernel/doc/src/application.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'lib/kernel') diff --git a/lib/kernel/doc/src/application.xml b/lib/kernel/doc/src/application.xml index 3513e2b592..9f19efc793 100644 --- a/lib/kernel/doc/src/application.xml +++ b/lib/kernel/doc/src/application.xml @@ -108,20 +108,27 @@ - Get the value of a configuration parameter

Returns the value of the configuration parameter Par for Application. If the application argument is omitted, it defaults to the application of the calling - process. If Def value is provided, it is returned - when no configuration parameter Par is defined.

+ process.

If the specified application is not loaded, or the configuration parameter does not exist, or if the process executing the call does not belong to any application, the function returns undefined.

+ + + Get the value of a configuration parameter using a default + +

Works like get_env/2 but returns + Def value when configuration parameter + Par does not exist.

+
+
-- cgit v1.2.3