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