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