aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2016-11-23 09:33:55 +0100
committerRichard Levitte <levitte@openssl.org>2017-05-15 15:13:36 +0200
commitbd4639bed67ddd28785899dc4ceef6b5b7fb44fd (patch)
tree4b765a38897ce71e5596a8de4a5245d6ff2f1852 /doc
parent79b35228f1cc6fea47bab34611d79aab190f4f28 (diff)
downloadopenssl-bd4639bed67ddd28785899dc4ceef6b5b7fb44fd.tar.gz
Document that BIO_gets() preserves '\n'.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3442)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/BIO_read.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/man3/BIO_read.pod b/doc/man3/BIO_read.pod
index bd9bb8fafd..fc50069830 100644
--- a/doc/man3/BIO_read.pod
+++ b/doc/man3/BIO_read.pod
@@ -34,7 +34,8 @@ in B<buf>. Usually this operation will attempt to read a line of data
from the BIO of maximum length B<size-1>. There are exceptions to this,
however; for example, BIO_gets() on a digest BIO will calculate and
return the digest and other BIOs may not support BIO_gets() at all.
-The returned string is always NUL-terminated.
+The returned string is always NUL-terminated and the '\n' is preserved
+if present in the input data.
BIO_write() attempts to write B<len> bytes from B<buf> to BIO B<b>.