From 33b2cc1996883569b8afbc7cab8a535aa168ae1b Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Thu, 10 Sep 2015 10:56:30 +0200 Subject: Fix doc for return value of gen_fsm:reply/2 --- lib/stdlib/doc/src/gen_fsm.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/stdlib') 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 - reply(Caller, Reply) -> true + reply(Caller, Reply) -> Result Send a reply to a caller. Caller - see below Reply = term() + Result = term()

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 sync_send_event/2,3 or sync_send_all_state_event/2,3.

+

The return value Result is not further defined, and + should always be ignored.

-- cgit v1.2.3