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