From 0ad809a3e5e65ac5128296f24014a9b037cbed24 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 09:18:28 +0000 Subject: Remove BIO_{sn,v,vsn}printf(3) Unsued printing functionality. If something should need this we can readily add it back. ok jsing --- src/lib/libcrypto/man/BIO_printf.3 | 59 +++----------------------------------- 1 file changed, 4 insertions(+), 55 deletions(-) (limited to 'src/lib/libcrypto/man/BIO_printf.3') diff --git a/src/lib/libcrypto/man/BIO_printf.3 b/src/lib/libcrypto/man/BIO_printf.3 index 838b771be7..32dec0a828 100644 --- a/src/lib/libcrypto/man/BIO_printf.3 +++ b/src/lib/libcrypto/man/BIO_printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_printf.3,v 1.3 2018/03/22 17:11:04 schwarze Exp $ +.\" $OpenBSD: BIO_printf.3,v 1.4 2024/03/02 09:18:28 tb Exp $ .\" OpenSSL 2ca2e917 Mon Mar 20 16:25:22 2017 -0400 .\" .\" Copyright (c) 2017 Ingo Schwarze @@ -15,14 +15,11 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 22 2018 $ +.Dd $Mdocdate: March 2 2024 $ .Dt BIO_PRINTF 3 .Os .Sh NAME -.Nm BIO_printf , -.Nm BIO_vprintf , -.Nm BIO_snprintf , -.Nm BIO_vsnprintf +.Nm BIO_printf .Nd formatted output to a BIO .Sh SYNOPSIS .In openssl/bio.h @@ -32,66 +29,18 @@ .Fa "const char *format" .Fa ... .Fc -.Ft int -.Fo BIO_vprintf -.Fa "BIO *bio" -.Fa "const char *format" -.Fa "va_list args" -.Fc -.Ft int -.Fo BIO_snprintf -.Fa "char *buf" -.Fa "size_t n" -.Fa "const char *format" -.Fa ... -.Fc -.Ft int -.Fo BIO_vsnprintf -.Fa "char *buf" -.Fa "size_t n" -.Fa "const char *format" -.Fa "va_list args" -.Fc .Sh DESCRIPTION -.Fn BIO_vprintf +.Fn BIO_printf is a wrapper around .Xr vfprintf 3 , sending the output to the specified .Fa bio . -.Pp -.Fn BIO_printf -is a wrapper around -.Fn BIO_vprintf . -.Pp -.Fn BIO_snprintf -and -.Fn BIO_vsnprintf -are wrappers around -.Xr vsnprintf 3 . .Sh RETURN VALUES These functions return the number of bytes written, or -1 if an error occurs. -.Pp -In contrast to -.Xr snprintf 3 -and -.Xr vsnprintf 3 , -.Fn BIO_snprintf -and -.Fn BIO_vsnprintf -also return -1 if -.Fa n -is too small to hold the complete output. .Sh SEE ALSO .Xr BIO_new 3 .Sh HISTORY .Fn BIO_printf first appeared in SSLeay 0.6.5 and has been available since .Ox 2.4 . -.Pp -.Fn BIO_vprintf , -.Fn BIO_snprintf , -and -.Fn BIO_vsnprintf -first appeared in OpenSSL 0.9.6 and have been available since -.Ox 2.9 . -- cgit v1.2.3-55-g6feb