diff options
author | Hans Bolinder <[email protected]> | 2011-05-13 13:59:45 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2011-05-13 13:59:45 +0200 |
commit | 8c3a2a93b6b60253faa8397e5a02206b882b811f (patch) | |
tree | b4b2ee3d8fb2729158305fdcdf3427e1537067f0 /lib/kernel/doc/src/heart.xml | |
parent | 897c1066e6c06285b1854b5af5c70dba0fd4f0ed (diff) | |
parent | 5a485461a1157fef1bb3ce8426bfd1ad57b5ca52 (diff) | |
download | otp-8c3a2a93b6b60253faa8397e5a02206b882b811f.tar.gz otp-8c3a2a93b6b60253faa8397e5a02206b882b811f.tar.bz2 otp-8c3a2a93b6b60253faa8397e5a02206b882b811f.zip |
Merge branch 'hb/kernel/doc_specs/OTP-9272' into dev
* hb/kernel/doc_specs/OTP-9272:
Use Erlang specs and types for documentation
Diffstat (limited to 'lib/kernel/doc/src/heart.xml')
-rw-r--r-- | lib/kernel/doc/src/heart.xml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/kernel/doc/src/heart.xml b/lib/kernel/doc/src/heart.xml index 0df699572d..e2dbcbe63d 100644 --- a/lib/kernel/doc/src/heart.xml +++ b/lib/kernel/doc/src/heart.xml @@ -4,7 +4,7 @@ <erlref> <header> <copyright> - <year>1996</year><year>2009</year> + <year>1996</year><year>2011</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -76,11 +76,8 @@ </description> <funcs> <func> - <name>set_cmd(Cmd) -> ok | {error, {bad_cmd, Cmd}}</name> + <name name="set_cmd" arity="1"/> <fsummary>Set a temporary reboot command</fsummary> - <type> - <v>Cmd = string()</v> - </type> <desc> <p>Sets a temporary reboot command. This command is used if a <c>HEART_COMMAND</c> other than the one specified with @@ -88,12 +85,12 @@ the system. The new Erlang runtime system will (if it misbehaves) use the environment variable <c>HEART_COMMAND</c> to reboot.</p> - <p>Limitations: The length of the <c>Cmd</c> command string + <p>Limitations: The length of the <c><anno>Cmd</anno></c> command string must be less than 2047 characters.</p> </desc> </func> <func> - <name>clear_cmd() -> ok</name> + <name name="clear_cmd" arity="0"/> <fsummary>Clear the temporary boot command</fsummary> <desc> <p>Clears the temporary boot command. If the system terminates, @@ -101,11 +98,8 @@ </desc> </func> <func> - <name>get_cmd() -> {ok, Cmd}</name> + <name name="get_cmd" arity="0"/> <fsummary>Get the temporary reboot command</fsummary> - <type> - <v>Cmd = string()</v> - </type> <desc> <p>Get the temporary reboot command. If the command is cleared, the empty string will be returned.</p> |