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