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