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