From c43fe94c7ff45bf51a6a8867f10613de66776668 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Tue, 11 Apr 2023 16:58:43 +0000 Subject: Document the RETURN VALUES of BIO_method_type(3) and BIO_method_name(3) for the various BIO types. --- src/lib/libcrypto/man/BIO_f_buffer.3 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/man/BIO_f_buffer.3') diff --git a/src/lib/libcrypto/man/BIO_f_buffer.3 b/src/lib/libcrypto/man/BIO_f_buffer.3 index b84bb94452..9ac2f4de34 100644 --- a/src/lib/libcrypto/man/BIO_f_buffer.3 +++ b/src/lib/libcrypto/man/BIO_f_buffer.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_f_buffer.3,v 1.13 2022/12/23 17:27:53 schwarze Exp $ +.\" $OpenBSD: BIO_f_buffer.3,v 1.14 2023/04/11 16:58:43 schwarze Exp $ .\" full merge up to OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 .\" .\" This file was written by Dr. Stephen Henson . @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 23 2022 $ +.Dd $Mdocdate: April 11 2023 $ .Dt BIO_F_BUFFER 3 .Os .Sh NAME @@ -174,6 +174,15 @@ original BIO object to the new one. .Fn BIO_f_buffer returns the buffering BIO method. .Pp +When called on a buffering BIO object, +.Xr BIO_method_type 3 +returns the constant +.Dv BIO_TYPE_BUFFER +and +.Xr BIO_method_name 3 +returns a pointer to the static string +.Qq buffer . +.Pp .Fn BIO_get_buffer_num_lines returns the number of lines buffered (may be 0). .Pp -- cgit v1.2.3-55-g6feb