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