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