aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2015-09-10 10:56:30 +0200
committerSiri Hansen <[email protected]>2015-09-10 10:56:30 +0200
commit33b2cc1996883569b8afbc7cab8a535aa168ae1b (patch)
treeb3e080283b2f2f734ba9ea75ea29ff6c529b54a0 /lib
parentd8d05299cc1f6a172721ed056c19d5c8ed513ea8 (diff)
downloadotp-33b2cc1996883569b8afbc7cab8a535aa168ae1b.tar.gz
otp-33b2cc1996883569b8afbc7cab8a535aa168ae1b.tar.bz2
otp-33b2cc1996883569b8afbc7cab8a535aa168ae1b.zip
Fix doc for return value of gen_fsm:reply/2
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/doc/src/gen_fsm.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/gen_fsm.xml b/lib/stdlib/doc/src/gen_fsm.xml
index 5f7b5a3437..a8d7fadeb4 100644
--- a/lib/stdlib/doc/src/gen_fsm.xml
+++ b/lib/stdlib/doc/src/gen_fsm.xml
@@ -339,11 +339,12 @@ gen_fsm:sync_send_all_state_event -----> Module:handle_sync_event/4
</desc>
</func>
<func>
- <name>reply(Caller, Reply) -> true</name>
+ <name>reply(Caller, Reply) -> Result</name>
<fsummary>Send a reply to a caller.</fsummary>
<type>
<v>Caller - see below</v>
<v>Reply = term()</v>
+ <v>Result = term()</v>
</type>
<desc>
<p>This function can be used by a gen_fsm to explicitly send a
@@ -358,6 +359,8 @@ gen_fsm:sync_send_all_state_event -----> Module:handle_sync_event/4
which will be given back to the client as the return value of
<c>sync_send_event/2,3</c> or
<c>sync_send_all_state_event/2,3</c>.</p>
+ <p>The return value <c>Result</c> is not further defined, and
+ should always be ignored.</p>
</desc>
</func>
<func>