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