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