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