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