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