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