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