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