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