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