void goFirst_LList(LList* myList) - AmiralBl3ndic/CLib_v2 GitHub Wiki
void goFirst_LList(LList* myList)
This functions sets the active element (node) of the linked list given as parameter to its first element
Parameters:
- LList* myList: pointer on any element of the linked list
Example:
LList* myList = init_LList(8); //Active element = 0
next_LList(myList); //Active element = 1
next_LList(myList); //Active element = 2
next_LList(myList); //Active element = 3
goFirst_LList(myList); //Active element = 0