[#BIO_set_shutdown]
= BIO&lowbar;set&lowbar;shutdown
:mrdocs:

Set whether BIO&lowbar;free() should close the underlying I&sol;O resource&period;

== Synopsis

Declared in `&lt;openssl&sol;bio&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
BIO&lowbar;set&lowbar;shutdown(
    xref:BIO.adoc[BIO]* a,
    int shut);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| BIO to update&period;
| *shut*
| Non&hyphen;zero to close the underlying descriptor&sol;handle on free&semi; 0 to leave it open&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
