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