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