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