pr_init_static_clist.rst (458B)
1 PR_INIT_STATIC_CLIST 2 ==================== 3 4 Statically initializes a circular list. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prclist.h> 13 14 PR_INIT_STATIC_CLIST (PRCList *listp); 15 16 17 Parameter 18 ~~~~~~~~~ 19 20 ``listp`` 21 A pointer to the anchor of the linked list. 22 23 24 Description 25 ----------- 26 27 PR_INIT_STATIC_CLIST statically initializes the specified list to be an 28 empty list. For example, 29 30 :: 31 32 PRCList free_object_list = PR_INIT_STATIC_CLIST(&free_object_list);