aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/proc_lib.xml
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-01-22 15:04:22 +0100
committerHans Bolinder <[email protected]>2013-01-25 12:54:28 +0100
commit81dd9fa1547dbd79dfde3af3421a7155c29537e7 (patch)
tree4a73b319ac8ba840753d2affebd404cdb4926bf4 /lib/stdlib/doc/src/proc_lib.xml
parent7d3be5bd641c99283b003c2b933e89ed68241ccf (diff)
downloadotp-81dd9fa1547dbd79dfde3af3421a7155c29537e7.tar.gz
otp-81dd9fa1547dbd79dfde3af3421a7155c29537e7.tar.bz2
otp-81dd9fa1547dbd79dfde3af3421a7155c29537e7.zip
Add a new function proc_lib:format/2 which takes encoding
Diffstat (limited to 'lib/stdlib/doc/src/proc_lib.xml')
-rw-r--r--lib/stdlib/doc/src/proc_lib.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/proc_lib.xml b/lib/stdlib/doc/src/proc_lib.xml
index abc17c4a91..b597074044 100644
--- a/lib/stdlib/doc/src/proc_lib.xml
+++ b/lib/stdlib/doc/src/proc_lib.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1996</year><year>2011</year>
+ <year>1996</year><year>2013</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -209,6 +209,13 @@ init(Parent) ->
<name name="format" arity="1"/>
<fsummary>Format a crash report.</fsummary>
<desc>
+ <p>Equivalent to <c>format(<anno>CrashReport</anno>, latin1)</c>.</p>
+ </desc>
+ </func>
+ <func>
+ <name name="format" arity="2"/>
+ <fsummary>Format a crash report.</fsummary>
+ <desc>
<p>This function can be used by a user defined event handler to
format a crash report. The crash report is sent using
<c>error_logger:error_report(crash_report, <anno>CrashReport</anno>)</c>.