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