[#OPENSSL_hexchar2int]
= OPENSSL&lowbar;hexchar2int
:mrdocs:

Convert a single hexadecimal digit character to its 0–15 value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OPENSSL&lowbar;hexchar2int(unsigned char c);
----

== Return Value

Nibble value 0–15, or &hyphen;1 if `c` is not a hex digit&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| ASCII hex digit (&apos;0&apos;–&apos;9&apos;, &apos;a&apos;–&apos;f&apos;, or &apos;A&apos;–&apos;F&apos;)&period;
|===


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