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