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