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