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