pr_prev_link.rst (474B)
1 PR_PREV_LINK 2 ============ 3 4 Returns the preceding element in a list. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prclist.h> 13 14 PRCList *PR_PREV_LINK (PRCList *elemp); 15 16 17 Parameter 18 ~~~~~~~~~ 19 20 ``elemp`` 21 A pointer to the element. 22 23 24 Returns 25 ~~~~~~~ 26 27 A pointer to a list element. 28 29 30 Description 31 ----------- 32 33 :ref:`PR_PREV_LINK` returns a pointer to the element preceding the 34 specified element. It can be used to traverse a list. The preceding 35 element is not removed from the list.