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