shithub: riscv

ref: 85cab72ea0093d529db65bd5946cf166019f9edb
dir: /sys/src/ape/lib/ap/gen/strlen.c/

View raw version
#include <string.h>

size_t
strlen(const char *s)
{

	return strchr(s, 0) - s;
}