[#BIO_get_rpoll_descriptor]
= BIO&lowbar;get&lowbar;rpoll&lowbar;descriptor
:mrdocs:

Fill `desc` with the pollable read&hyphen;side target for a BIO (if any)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;get&lowbar;rpoll&lowbar;descriptor(
    xref:BIO.adoc[BIO]* b,
    xref:BIO_POLL_DESCRIPTOR.adoc[BIO&lowbar;POLL&lowbar;DESCRIPTOR]* desc);
----

== Return Value

1 if a descriptor was returned, or 0 if none &sol; unsupported&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| BIO to query&period;
| *desc*
| Receives type&sol;discriminator and fd&sol;ssl&sol;custom value for polling&period;
|===


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