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