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