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