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