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