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