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