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