diff options
author | Björn-Egil Dahlberg <[email protected]> | 2013-03-06 10:50:38 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2013-03-08 15:28:08 +0100 |
commit | 7bfa1947ba60d61fd1bb8040f435e4dcaefac32a (patch) | |
tree | e9195dd87300735d00ed42fa490898aaba6d9724 /lib | |
parent | 75101e5796d799d8e63ef332957401bf4a89fecc (diff) | |
download | otp-7bfa1947ba60d61fd1bb8040f435e4dcaefac32a.tar.gz otp-7bfa1947ba60d61fd1bb8040f435e4dcaefac32a.tar.bz2 otp-7bfa1947ba60d61fd1bb8040f435e4dcaefac32a.zip |
kernel: Document application:ensure_started/1,2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel/doc/src/application.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/kernel/doc/src/application.xml b/lib/kernel/doc/src/application.xml index 697de6681f..362c373c6c 100644 --- a/lib/kernel/doc/src/application.xml +++ b/lib/kernel/doc/src/application.xml @@ -253,6 +253,15 @@ Nodes = [cp1@cave, {cp2@cave, cp3@cave}]</code> </warning> </desc> </func> + <func> + <name name="ensure_started" arity="1"/> + <name name="ensure_started" arity="2"/> + <fsummary>Load and start an application</fsummary> + <desc> + <p>Equivalent to <seealso marker="#start/2"><c>application:start/1,2</c></seealso> except + it returns <c>ok</c> for already started applications.</p> + </desc> + </func> <func> <name name="start" arity="1"/> <name name="start" arity="2"/> |