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