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