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