Set whether BIO_free() should close the underlying I/O resource.

Synopsis

Declared in <openssl/bio.h>

void
BIO_set_shutdown(
    BIO* a,
    int shut);

Parameters

Name

Description

a

BIO to update.

shut

Non‐zero to close the underlying descriptor/handle on free; 0 to leave it open.

Created with MrDocs