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