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