diff options
Diffstat (limited to 'src/lib/libcrypto/man/BIO_f_buffer.3')
-rw-r--r-- | src/lib/libcrypto/man/BIO_f_buffer.3 | 12 |
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 | |||
72 | If | 72 | If |
73 | .Fa num | 73 | .Fa num |
74 | is larger than the current buffer size the buffer is expanded. | 74 | is larger than the current buffer size the buffer is expanded. |
75 | .Sh NOTES | 75 | .Pp |
76 | Buffering BIOs implement | 76 | Buffering BIOs implement |
77 | .Xr BIO_gets 3 | 77 | .Xr BIO_gets 3 |
78 | by using | 78 | by using |
79 | .Xr BIO_read 3 | 79 | .Xr BIO_read 3 |
80 | operations on the next BIO in the chain. | 80 | operations on the next BIO in the chain. |
81 | By prepending a buffering BIO to a chain | 81 | By prepending a buffering BIO to a chain |
82 | it is therefore possible to provide | 82 | it is therefore possible to provide the functionality of |
83 | .Xr BIO_gets 3 | 83 | .Xr BIO_gets 3 |
84 | functionality if the following BIOs do not support it (for example SSL BIOs). | 84 | if the following BIOs do not support it (for example SSL BIOs). |
85 | .Pp | 85 | .Pp |
86 | Data is only written to the next BIO in the chain | 86 | Data is only written to the next BIO in the chain |
87 | when the write buffer fills or when | 87 | when the write buffer fills or when |
@@ -93,7 +93,7 @@ whenever any pending data should be written | |||
93 | such as when removing a buffering BIO using | 93 | such 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 |
96 | may need to be retried if the ultimate source/sink BIO is non blocking. | 96 | may 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 |
99 | returns the buffering BIO method. | 99 | returns the buffering BIO method. |