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