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