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