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