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