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