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