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