git: 9front

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