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