</i> is less than the total number of curves available, then the first <i>nitems</i> curves will be returned. Otherwise the total number of curves will be provided. The return value is the total number of curves available (whether that number has been populated in <i>r</i> or not). Passing a NULL <i>r</i>, or setting <i>nitems</i> to 0 will do nothing other than return the total number of curves available. The EC_builtin_curve structure is defined as follows:</p>

<pre><code>typedef struct {
       int nid;