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