git: 9front

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