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