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