BIO_write_ex

Write up to dlen bytes from data to a BIO.

Synopsis

Declared in <openssl/bio.h>

int
BIO_write_ex(
    BIO* b,
    void const* data,
    size_t dlen,
    size_t* written);

Return Value

1 if any data was written, or 0 otherwise.

Parameters

NameDescription
bDestination BIO.
dataBytes to write.
dlenNumber of bytes to write.
writtenOn success, receives the number of bytes actually written.