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