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