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