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