diff options
author | Sverker Eriksson <[email protected]> | 2017-08-23 13:21:09 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-08-23 13:21:09 +0200 |
commit | 26416b5430795f3a27913931afbb7ef1dc51d4bd (patch) | |
tree | 727875d6d700106beabd035ea7f3b1ea23681233 /erts/doc | |
parent | 5ec10fdcb2205a955150310d4a9499c6701bbd11 (diff) | |
parent | 7c9ea890cd2530bffeafa82abeeee876fd24a6ba (diff) | |
download | otp-26416b5430795f3a27913931afbb7ef1dc51d4bd.tar.gz otp-26416b5430795f3a27913931afbb7ef1dc51d4bd.tar.bz2 otp-26416b5430795f3a27913931afbb7ef1dc51d4bd.zip |
Merge branch 'sverker/halt-unicode-slogan/OTP-14553' into maint
* sverker/halt-unicode-slogan/OTP-14553:
erts: Allow any unicode string as crash dump slogan
erts: Generate crash_dump slogan string as UTF8
erts: Refactor erts_unicode_list_to_buf
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/erlang.xml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 105734d5b2..11f2d36a01 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -1943,23 +1943,26 @@ os_prompt%</pre> <item>The runtime system exits with integer value <c><anno>Status</anno></c> as status code to the calling environment (OS). + <note> + <p>On many platforms, the OS supports only status + codes 0-255. A too large status code is truncated by clearing + the high bits.</p> + </note> </item> <tag>string()</tag> <item>An Erlang crash dump is produced with <c><anno>Status</anno></c> as slogan. Then the runtime system exits with status code <c>1</c>. - Note that only code points in the range 0-255 may be used - and the string will be truncated if longer than 200 characters. + The string will be truncated if longer than 200 characters. + <note> + <p>Before ERTS 9.1 (OTP-20.1) only code points in the range 0-255 + was accepted in the string. Now any unicode string is valid.</p> + </note> </item> <tag><c>abort</c></tag> <item>The runtime system aborts producing a core dump, if that is enabled in the OS. </item> </taglist> - <note> - <p>On many platforms, the OS supports only status - codes 0-255. A too large status code is truncated by clearing - the high bits.</p> - </note> <p>For integer <c><anno>Status</anno></c>, the Erlang runtime system closes all ports and allows async threads to finish their operations before exiting. To exit without such flushing, use |