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