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