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