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