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