To get the pointer to the first node in a linked list, call nd_first():
|
To get the pointer to the last node in a linked list, call nd_last():
|
Given a pointer to a node in a linked list, you can get the pointer to the next node by calling nd_next():
|
Given a pointer to a node in a linked list, you can get the pointer to the previous node by calling nd_prev():
|
You can find the number of the node within the linked list by calling nd_ptrnum():
|
||
|
|
|
|
|
|
You can convert a node number in a linked list to a pointer to that node by calling nd_numptr():
|
||
|
|
|
|
|
|