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