thelist
struct thelist *next;
} thelist, *ptl;
thelist.next = NULL;
ptl = malloc(sizeof (struct thelist));
ptl->next = thelist.next;
thelist.next = ptl;
for (ptl = thelist.next; ptl; ptl = thelist.next) {
thelist.next = ptl->next;
thelist.next = NULL;