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