From 8377afdf5f56d018a1b439bbccc918ce123a834b Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin
Date: Fri, 16 Oct 2015 11:43:20 +0200
Subject: erts: Clarify documentation
---
erts/doc/src/erlang.xml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
(limited to 'erts/doc')
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 @@
line
-
-
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
- line_length.
+ 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 line_length.
asn1 | cdr | sunrm | fcgi | tpkt
-
@@ -933,9 +933,9 @@
if packet_size itself is not set. This use is
only intended for backward compatibility.
- {line_delimiter, 0 ≤ char() ≤ 255}
- For packet type line, sets delimiting character.
- Default $\n.
+ {line_delimiter, 0 =< byte() =< 255}
+ For packet type line, sets the delimiting byte.
+ Default is the latin1 character $\n.
Examples:
--
cgit v1.2.3