BIO_PRINTF(3) Library Functions Manual BIO_PRINTF(3)

BIO_printfformatted output to a BIO

#include <openssl/bio.h>

BIO_printf(BIO *bio, const char *format, ...);

() is a wrapper around vfprintf(3), sending the output to the specified bio.

These functions return the number of bytes written, or -1 if an error occurs.


BIO_printf() first appeared in SSLeay 0.6.5 and has been available since OpenBSD 2.4.

March 2, 2024 OpenBSD 7.5