[#BIO_ctrl_get_read_request]
= BIO&lowbar;ctrl&lowbar;get&lowbar;read&lowbar;request
:mrdocs:

Return how many bytes the peer half of a BIO pair last tried to read while the buffer was empty&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
BIO&lowbar;ctrl&lowbar;get&lowbar;read&lowbar;request(xref:BIO.adoc[BIO]* b);
----

== Return Value

Requested byte count (capped by the write guarantee), or 0 after a successful read or once the request is satisfied&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| BIO&hyphen;pair endpoint to query&period;
|===


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