From 460cb28eda044c8dd8ce28ac6bc36bbc49373c8a Mon Sep 17 00:00:00 2001 From: Steve Vinoski Date: Fri, 29 Mar 2013 13:30:09 -0400 Subject: update sys:get_status/2,3 documentation for gen_event Modify the documentation for the sys:get_status/2,3 functions to reflect that they also work on gen_event processes, and add a cross reference for gen_event:format_status/2 to go along with the existing cross references for gen_server and gen_fsm. --- lib/stdlib/doc/src/sys.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'lib/stdlib/doc/src/sys.xml') diff --git a/lib/stdlib/doc/src/sys.xml b/lib/stdlib/doc/src/sys.xml index 073faf2df2..bb75efb5e7 100644 --- a/lib/stdlib/doc/src/sys.xml +++ b/lib/stdlib/doc/src/sys.xml @@ -211,14 +211,16 @@

Gets the status of the process.

The value of Misc varies for different types of processes. For example, a gen_server process returns - the callback module's state, and a gen_fsm process - returns information such as its current state name. Callback - modules for gen_server and gen_fsm can also - customise the value of Misc by exporting - a format_status/2 function that contributes - module-specific information; - see gen_server:format_status/2 - and gen_fsm:format_status/2 + the callback module's state, a gen_fsm process + returns information such as its current state name and state data, + and a gen_event process returns information about each of its + registered handlers. Callback modules for gen_server, + gen_fsm, and gen_event can also customise the value + of Misc by exporting a format_status/2 + function that contributes module-specific information; + see gen_server:format_status/2, + gen_fsm:format_status/2, and + gen_event:format_status/2 for more details.

-- cgit v1.2.3