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