[#BIO_ptr_ctrl]
= BIO&lowbar;ptr&lowbar;ctrl
:mrdocs:

Invoke a BIO ctrl that returns a pointer result&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
BIO&lowbar;ptr&lowbar;ctrl(
    xref:BIO.adoc[BIO]* bp,
    int cmd,
    long larg);
----

== Return Value

Pointer returned by the ctrl implementation, or NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bp*
| BIO to control&period;
| *cmd*
| Control command that yields a pointer (for example BIO&lowbar;C&lowbar;GET&lowbar;BUF&lowbar;MEM)&period;
| *larg*
| Long argument passed through to BIO&lowbar;ctrl()&period;
|===


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