ref: 6d069b39b5ff8118f7b719b8c9e33a03686b8811 dir: /libc/lllen.c/
#include <u.h> int lllen(ll_t *head) { int i; ll_t *t; t = head; i = 0; while(t != nil) { i++; t = t->next; } return i; }