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