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