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