125 for(l = *list; l->next !=
NULL; l = l->next);
149 ((
struct list *)item)->next =
NULL;
171 ((
struct list *)item)->next = *list;
192 if(((
struct list *)*list)->next ==
NULL) {
198 for(l = *list; l->next->next !=
NULL; l = l->next);
222 *list = ((
struct list *)*list)->next;
248 for(l = *list; l !=
NULL; l = l->next) {
279 for(l = *list; l !=
NULL; l = l->next) {
304 if(previtem ==
NULL) {
308 ((
struct list *)newitem)->next = ((
struct list *)previtem)->next;
309 ((
struct list *)previtem)->next = newitem;
326 return item ==
NULL?
NULL: ((
struct list *)item)->next;