[#SSL_get_fd]
= SSL&lowbar;get&lowbar;fd
:mrdocs:

Return the file descriptor linked to an SSL object&apos;s read BIO (or the shared fd)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;get&lowbar;fd(xref:SSL.adoc[SSL] const* s);
----

== Return Value

File descriptor &gt;&equals; 0, or &hyphen;1 if the underlying BIO is not fd&hyphen;based&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection to query&period;
|===


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