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