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