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