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