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