summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_clist_is_empty.rst
blob: 1794a8b7b433953ecc38df5ed3d964bc6c9584cf (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
PR_CLIST_IS_EMPTY
=================

Checks for an empty circular list.


Syntax
------

.. code::

   #include <prclist.h>

   PRIntn PR_CLIST_IS_EMPTY (PRCList *listp);


Parameter
~~~~~~~~~

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


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

PR_CLIST_IS_EMPTY returns a non-zero value if the specified list is an
empty list, otherwise returns zero.