126 for(l = *list; l->next !=
NULL; l = l->next);
150 ((
struct list *)item)->next =
NULL;
172 ((
struct list *)item)->next = *list;
193 if(((
struct list *)*list)->
next ==
NULL) {
199 for(l = *list; l->next->next !=
NULL; l = l->next);
223 *list = ((
struct list *)*list)->next;
249 for(l = *list; l !=
NULL; l = l->next) {
280 for(l = *list; l !=
NULL; l = l->next) {
305 if(previtem ==
NULL) {
309 ((
struct list *)newitem)->next = ((
struct list *)previtem)->next;
310 ((
struct list *)previtem)->next = newitem;
327 return item ==
NULL?
NULL: ((
struct list *)item)->next;