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