BIO_get_shutdown

Return whether BIO_free() will close the underlying I/O resource.

Synopsis

Declared in <openssl/bio.h>

int
BIO_get_shutdown(BIO* a);

Return Value

Non-zero if the underlying descriptor/handle is closed on free; 0 otherwise.

Parameters

NameDescription
aBIO to query.