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