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