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