git: 9front

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