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