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