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