[#EC_get_builtin_curves]
= EC&lowbar;get&lowbar;builtin&lowbar;curves
:mrdocs:

Copy built&hyphen;in elliptic&hyphen;curve descriptors into `r&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
EC&lowbar;get&lowbar;builtin&lowbar;curves(
    EC&lowbar;builtin&lowbar;curve* r,
    size&lowbar;t nitems);
----

== Return Value

Total number of built&hyphen;in curves (may exceed `nitems)&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *r*
| Array of EC&lowbar;builtin&lowbar;curve that receives up to `nitems` entries, or NULL to query only the count&period;
| *nitems*
| Capacity of `r` in elements&semi; ignored when `r` is NULL&period;
|===


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