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