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