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