summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_next_link.rst
blob: 1a48065e69b5e3152f2b9532e4d595857674833a (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
34
35
PR_NEXT_LINK
============

Returns the next element in a list.


Syntax
------

.. code::

   #include <prclist.h>

   PRCList *PR_NEXT_LINK (PRCList *elemp);


Parameter
~~~~~~~~~

``elemp``
   A pointer to the element.


Returns
~~~~~~~

A pointer to a list element.


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

PR_NEXT_LINK returns a pointer to the element following the specified
element. It can be used to traverse a list. The following element is not
removed from the list.