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