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