BIO_puts

Write the NUL-terminated string buf to BIO bp.

Synopsis

Declared in <openssl/bio.h>

int
BIO_puts(
    BIO* bp,
    char const* buf);

Return Value

Number of bytes written, or a negative value on error.

Parameters

NameDescription
bpDestination BIO.
bufC string to write (excluding the terminating NUL).