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