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