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