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