[#BN_GENCB_get_arg]
= BN&lowbar;GENCB&lowbar;get&lowbar;arg
:mrdocs:

Return the user argument previously associated with a BN&lowbar;GENCB&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
BN&lowbar;GENCB&lowbar;get&lowbar;arg(xref:BN_GENCB.adoc[BN&lowbar;GENCB]* cb);
----

== Return Value

The `cb&lowbar;arg` pointer stored in `cb&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cb*
| Callback object set via BN&lowbar;GENCB&lowbar;set() or BN&lowbar;GENCB&lowbar;set&lowbar;old()&period;
|===


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