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