After reading some <PAQ>'s, i found this function from a site. I do not know how to use it.
Can this function quickly be explainined -> not WHAT it does, but the params it requires please.
The function is a linked list sorting algorithm, taken from www.snippets.org
[snippet == LL_QSORT.C]
this is the function header.
void *sortl(void *list, void *(*getnext)(void *),
void (*setnext)(void *, void *),
int (*compare)(void *, void *));
if my l-list is
struct student_data *student_list;
how do i sort the contents of student list?
Thank you kindly.