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