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