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