From 5a485461a1157fef1bb3ce8426bfd1ad57b5ca52 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Fri, 6 May 2011 16:01:56 +0200 Subject: Use Erlang specs and types for documentation --- lib/kernel/doc/src/heart.xml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'lib/kernel/doc/src/heart.xml') 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 @@
- 19962009 + 19962011 Ericsson AB. All Rights Reserved. @@ -76,11 +76,8 @@ - set_cmd(Cmd) -> ok | {error, {bad_cmd, Cmd}} + Set a temporary reboot command - - Cmd = string() -

Sets a temporary reboot command. This command is used if a HEART_COMMAND 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 HEART_COMMAND to reboot.

-

Limitations: The length of the Cmd command string +

Limitations: The length of the Cmd command string must be less than 2047 characters.

- clear_cmd() -> ok + Clear the temporary boot command

Clears the temporary boot command. If the system terminates, @@ -101,11 +98,8 @@ - get_cmd() -> {ok, Cmd} + Get the temporary reboot command - - Cmd = string() -

Get the temporary reboot command. If the command is cleared, the empty string will be returned.

-- cgit v1.2.3