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