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