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