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