summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_list_head.rst
blob: e930c362953485873cbf828c1e000b818521765f (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
28
29
30
31
32
33
PR_LIST_HEAD
============

Returns the head of a circular list.


Syntax
------

.. code::

   #include <prclist.h>

   PRCList *PR_LIST_HEAD (PRCList *listp);


Parameter
~~~~~~~~~

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


Returns
~~~~~~~

A pointer to a list element.


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

:ref:`PR_LIST_HEAD` returns the head of the specified circular list.