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