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