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