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