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