diff options
author | Ingela Anderton Andin <[email protected]> | 2015-10-26 10:33:14 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-10-26 10:33:14 +0100 |
commit | 030447db58eba15398a357a81f20efa409113bc9 (patch) | |
tree | 160eceb4aace2bd51a49ff66dcbb197cd0ce931c /erts/doc/src | |
parent | d9f88cbd3c096d09cac05450e6b075b1109da1a0 (diff) | |
parent | abb62a6d1918bc46ada942ae4f4c79caf2690d86 (diff) | |
download | otp-030447db58eba15398a357a81f20efa409113bc9.tar.gz otp-030447db58eba15398a357a81f20efa409113bc9.tar.bz2 otp-030447db58eba15398a357a81f20efa409113bc9.zip |
Update primary bootstrap
Diffstat (limited to 'erts/doc/src')
-rw-r--r-- | erts/doc/src/erlang.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 6677c3059a..34c7031782 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,6 +933,10 @@ if <c>packet_size</c> itself is not set. This use is only intended for backward compatibility.</p> </item> + <tag><c>{line_delimiter, 0 =< byte() =< 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> <pre> |