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