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