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