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