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