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