[#BN_print]
= BN&lowbar;print
:mrdocs:

Write the hexadecimal encoding of a BIGNUM to a BIO&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BN&lowbar;print(
    xref:BIO.adoc[BIO]* bio,
    xref:BIGNUM.adoc[BIGNUM] const* a);
----

== Return Value

1 on success, or 0 on write error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bio*
| Destination BIO&period;
| *a*
| Value to print&semi; a leading &apos;&hyphen;&apos; is written for negative numbers&period;
|===


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