9
<holder>Ericsson AB, All Rights Reserved</holder>
7
<year>1996</year><year>2009</year>
8
<holder>Ericsson AB. All Rights Reserved.</holder>
12
The contents of this file are subject to the Erlang Public License,
13
Version 1.1, (the "License"); you may not use this file except in
14
compliance with the License. You should have received a copy of the
15
Erlang Public License along with this software. If not, it can be
16
retrieved online at http://www.erlang.org/.
18
Software distributed under the License is distributed on an "AS IS"
19
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20
the License for the specific language governing rights and limitations
23
The Initial Developer of the Original Code is Ericsson AB.
11
The contents of this file are subject to the Erlang Public License,
12
Version 1.1, (the "License"); you may not use this file except in
13
compliance with the License. You should have received a copy of the
14
Erlang Public License along with this software. If not, it can be
15
retrieved online at http://www.erlang.org/.
17
Software distributed under the License is distributed on an "AS IS"
18
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
19
the License for the specific language governing rights and limitations
239
237
<p>Gets the status of the process.</p>
238
<p>The value of <c>Misc</c> varies for different types of
239
processes. For example, a <c>gen_server</c> process returns
240
the callback module's state, and a <c>gen_fsm</c> process
241
returns information such as its current state name. Callback
242
modules for <c>gen_server</c> and <c>gen_fsm</c> can also
243
customise the value of <c>Misc</c> by exporting
244
a <c>format_status/2</c> function that contributes
245
module-specific information;
246
see <seealso marker="gen_server#format_status/2">gen_server:format_status/2</seealso>
247
and <seealso marker="gen_fsm#format_status/2">gen_fsm:format_status/2</seealso>
248
for more details.</p>