aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-10-16 11:43:20 +0200
committerIngela Anderton Andin <[email protected]>2015-10-26 14:54:51 +0100
commit18270f5c208149323964ff9057b1b740cb72ea85 (patch)
tree21d649cdceed21463c108ad378e13817a4e0f014 /erts
parentafac3c7136c48d8630bd400c5454e146915e634f (diff)
downloadotp-18270f5c208149323964ff9057b1b740cb72ea85.tar.gz
otp-18270f5c208149323964ff9057b1b740cb72ea85.tar.bz2
otp-18270f5c208149323964ff9057b1b740cb72ea85.zip
erts: Clarify documentation
Diffstat (limited to 'erts')
-rw-r--r--erts/doc/src/erlang.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 1963b27915..70d000f763 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -874,10 +874,10 @@
</item>
<tag><c>line</c></tag>
<item>
- <p>A packet is a line terminated with newline. The
- newline character is included in the returned packet
- unless the line was truncated according to option
- <c>line_length</c>.</p>
+ <p>A packet is a line terminated by a delimiter byte,
+ default is the latin1 newline character. The delimiter
+ byte is included in the returned packet unless the line
+ was truncated according to option <c>line_length</c>.</p>
</item>
<tag><c>asn1 | cdr | sunrm | fcgi | tpkt</c></tag>
<item>
@@ -933,9 +933,9 @@
if <c>packet_size</c> itself is not set. This use is
only intended for backward compatibility.</p>
</item>
- <tag><c>{line_delimiter, 0 &le; char() &le; 255}</c></tag>
- <item><p>For packet type <c>line</c>, sets delimiting character.
- Default <c>$\n</c>.</p>
+ <tag><c>{line_delimiter, 0 =&lt; byte() =&lt; 255}</c></tag>
+ <item><p>For packet type <c>line</c>, sets the delimiting byte.
+ Default is the latin1 character <c>$\n</c>.</p>
</item>
</taglist>
<p>Examples:</p>