ref: b4c916efce5e1476d9ac7079ca8ffec54fdcbce2 dir: /sys/src/libc/port/strlen.c/
#include <u.h> #include <libc.h> long strlen(char *s) { return strchr(s, 0) - s; }