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