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