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