BIO_ctrl

Invoke a type-specific control operation on a BIO.

Synopsis

Declared in <openssl/bio.h>

long
BIO_ctrl(
    BIO* bp,
    int cmd,
    long larg,
    void* parg);

Return Value

Command-specific long result; often 1 for success and 0/negative for failure.

Parameters

NameDescription
bpBIO to control.
cmdBIO_CTRL_* (or type-specific) command code.
largInteger/long argument for cmd.
pargPointer argument for cmd, or NULL.