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