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