libressl-BIO_printf(3)

libressl-BIO_printf3

Formatted output to a bio

Usage

Crypto Library (libcrypto, -lcrypto)

#include <openssl/bio.h>

int

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

Overview

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

Return values

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

History

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

From libressl 4.4.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.