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