SL_FindNodePos


NAME
SL_FindNodePos -- finds the nth node in a list.

SYNOPSIS
nh = SL_FindNodePos(lh, position);
D0 A0D1

void *SL_FindNodePos(LISTHANDLE, ULONG);

FUNCTION
Returns the node at given position in a list.

INPUTS
position - the position of the node to return. This is a zero based
position, so 0 will return the first node.

RESULTS
node - a pointer to the extended data of the node or NULL if the
requested position does not exist.

SEE ALSO
SL_AddNodeAfter, SL_AddNodeBefore, SL_AddNodeHead, SL_AddNodeSorted, SL_AddNodeSortedFunc, SL_AddNodeTail, SL_ClearList, SL_CountNodes, SL_CreateListA, SL_CreateNodeA, SL_FindNodeFunc, SL_FindNodeName, SL_FindNodePos, SL_FindNodeUserData, SL_FirstNode, SL_FreeList, SL_FreeNode, SL_GetListAttr, SL_GetNodeAttr, SL_IsListEmpty, SL_LastNode, SL_NextNode, SL_PrevNode, SL_RemoveNode, SL_RemoveNodeHead, SL_RemoveNodeTail, SL_SetListAttrA, SL_SetNodeAttrA, SL_SortList, SL_SortListField, SL_SortListFieldRange, SL_SortListFunc, SL_SortListFuncRange, SL_SortListRange.

 

SL_FindNodePos  Command Section By Type  url:SL_FindNodePos
  created:2008-03-01 23:36:12   last updated:2008-03-01 23:36:12
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_FindNodePos
There are no user contributed comments for this page.