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