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