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