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