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