summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_f_buffer.3
diff options
context:
space:
mode:
authorjmc <>2016-11-07 15:52:47 +0000
committerjmc <>2016-11-07 15:52:47 +0000
commit94a8013c0e6b484829cc3c8b697578760ad01405 (patch)
tree8e0eba7cbf154c12c52f4456e7f1e277c6e71d31 /src/lib/libcrypto/man/BIO_f_buffer.3
parente638403f591087e1ef609e3bc88e3028a97af60e (diff)
downloadopenbsd-94a8013c0e6b484829cc3c8b697578760ad01405.tar.gz
openbsd-94a8013c0e6b484829cc3c8b697578760ad01405.tar.bz2
openbsd-94a8013c0e6b484829cc3c8b697578760ad01405.zip
various cleanup;
Diffstat (limited to 'src/lib/libcrypto/man/BIO_f_buffer.3')
-rw-r--r--src/lib/libcrypto/man/BIO_f_buffer.312
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/BIO_f_buffer.3 b/src/lib/libcrypto/man/BIO_f_buffer.3
index 785934d553..c673fe535e 100644
--- a/src/lib/libcrypto/man/BIO_f_buffer.3
+++ b/src/lib/libcrypto/man/BIO_f_buffer.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: BIO_f_buffer.3,v 1.3 2015/11/11 22:14:39 jmc Exp $ 1.\" $OpenBSD: BIO_f_buffer.3,v 1.4 2016/11/07 15:52:47 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 11 2015 $ 3.Dd $Mdocdate: November 7 2016 $
4.Dt BIO_F_BUFFER 3 4.Dt BIO_F_BUFFER 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -72,16 +72,16 @@ bytes of
72If 72If
73.Fa num 73.Fa num
74is larger than the current buffer size the buffer is expanded. 74is larger than the current buffer size the buffer is expanded.
75.Sh NOTES 75.Pp
76Buffering BIOs implement 76Buffering BIOs implement
77.Xr BIO_gets 3 77.Xr BIO_gets 3
78by using 78by using
79.Xr BIO_read 3 79.Xr BIO_read 3
80operations on the next BIO in the chain. 80operations on the next BIO in the chain.
81By prepending a buffering BIO to a chain 81By prepending a buffering BIO to a chain
82it is therefore possible to provide 82it is therefore possible to provide the functionality of
83.Xr BIO_gets 3 83.Xr BIO_gets 3
84functionality if the following BIOs do not support it (for example SSL BIOs). 84if the following BIOs do not support it (for example SSL BIOs).
85.Pp 85.Pp
86Data is only written to the next BIO in the chain 86Data is only written to the next BIO in the chain
87when the write buffer fills or when 87when the write buffer fills or when
@@ -93,7 +93,7 @@ whenever any pending data should be written
93such as when removing a buffering BIO using 93such as when removing a buffering BIO using
94.Xr BIO_pop 3 . 94.Xr BIO_pop 3 .
95.Xr BIO_flush 3 95.Xr BIO_flush 3
96may need to be retried if the ultimate source/sink BIO is non blocking. 96may need to be retried if the ultimate source/sink BIO is non-blocking.
97.Sh RETURN VALUES 97.Sh RETURN VALUES
98.Fn BIO_f_buffer 98.Fn BIO_f_buffer
99returns the buffering BIO method. 99returns the buffering BIO method.