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