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