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