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