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