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