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