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