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