summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_remove_and_init_link.rst
blob: 667a072b21f07b230328775ce4e0e0e2c7ee5a2a (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
PR_REMOVE_AND_INIT_LINK
=======================

Removes an element from a circular list and initializes the linkage.


Syntax
------

.. code::

   #include <prclist.h>

   PR_REMOVE_AND_INIT_LINK (PRCList *elemp);


Parameter
~~~~~~~~~

``elemp``
   A pointer to the element.


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

:ref:`PR_REMOVE_AND_INIT_LINK` removes the specified element from its
circular list and initializes the links of the element to point to
itself.