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