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