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