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