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