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