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