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