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