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