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