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