git: 9front

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