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