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_s_file.3 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/man/BIO_s_file.3') diff --git a/src/lib/libcrypto/man/BIO_s_file.3 b/src/lib/libcrypto/man/BIO_s_file.3 index 3b256dbcf7..9f82ba5b80 100644 --- a/src/lib/libcrypto/man/BIO_s_file.3 +++ b/src/lib/libcrypto/man/BIO_s_file.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_s_file.3,v 1.11 2018/12/19 20:30:09 schwarze Exp $ +.\" $OpenBSD: BIO_s_file.3,v 1.12 2023/04/11 16:58:43 schwarze Exp $ .\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 .\" selective merge up to: OpenSSL 1212818e Sep 11 13:22:14 2018 +0100 .\" @@ -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 19 2018 $ +.Dd $Mdocdate: April 11 2023 $ .Dt BIO_S_FILE 3 .Os .Sh NAME @@ -227,6 +227,15 @@ return a file BIO or .Dv NULL if an error occurred. .Pp +When called on a file BIO object, +.Xr BIO_method_type 3 +returns the constant +.Dv BIO_TYPE_FILE +and +.Xr BIO_method_name 3 +returns a pointer to the static string +.Qq FILE pointer . +.Pp .Fn BIO_set_fp and .Fn BIO_get_fp -- cgit v1.2.3-55-g6feb