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