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