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