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