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