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