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