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