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