[#OSSL_PARAM_get_ulong]
= OSSL&lowbar;PARAM&lowbar;get&lowbar;ulong
:mrdocs:

Read an unsigned long integer from an OSSL&lowbar;PARAM&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;PARAM&lowbar;get&lowbar;ulong(
    xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM] const* p,
    unsigned long* val);
----

== Return Value

1 on success, or 0 on type&sol;range error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Parameter of an integer type that can hold the value&period;
| *val*
| Receives the converted value on success&period;
|===


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