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