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