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