summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_clist_is_empty.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nspr/reference/pr_clist_is_empty.rst')
-rw-r--r--docs/nspr/reference/pr_clist_is_empty.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/nspr/reference/pr_clist_is_empty.rst b/docs/nspr/reference/pr_clist_is_empty.rst
new file mode 100644
index 0000000000..1794a8b7b4
--- /dev/null
+++ b/docs/nspr/reference/pr_clist_is_empty.rst
@@ -0,0 +1,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.