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