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