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

Name

Description

b

Destination BIO.

data

Bytes to write.

dlen

Number of bytes to write.

written

On success, receives the number of bytes actually written.

Created with MrDocs