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