shithub: riscv

ref: fe93e698589d6b23a02ec8e6d104f83e533661f3
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;
}