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