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