summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_init_clist.rst
blob: d6d57afade0b4f5035ab7277123f24b77a6349ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PR_INIT_CLIST
=============

Initializes a circular list.


Syntax
------

.. code::

   #include <prclist.h>

   PR_INIT_CLIST (PRCList *listp);


Parameter
~~~~~~~~~

``listp``
   A pointer to the anchor of the linked list.


Description
-----------

Initializes the specified list to be an empty list.