ref: 3f740ebd95986bfadbb770d070546fe9ce7f7deb 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; }